mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
Clear e107 registry before testing user extended structure.
This commit is contained in:
@@ -114,7 +114,7 @@
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$text_val = $ueStruct['user_'.$parms[0]]['user_extended_struct_text'];
|
$text_val = $ueStruct['user_'.$parms[0]]['user_extended_struct_text'];
|
||||||
|
|
||||||
if($text_val)
|
if($text_val)
|
||||||
|
@@ -64,6 +64,8 @@
|
|||||||
|
|
||||||
public function testGetStructure()
|
public function testGetStructure()
|
||||||
{
|
{
|
||||||
|
e107::setRegistry('core/userextended/structure'); // clear the registry.
|
||||||
|
|
||||||
$result = $this->ue->getStructure();
|
$result = $this->ue->getStructure();
|
||||||
|
|
||||||
foreach($this->typeArray as $k=>$v)
|
foreach($this->typeArray as $k=>$v)
|
||||||
|
Reference in New Issue
Block a user