1
0
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:
Cameron
2021-01-08 10:30:03 -08:00
parent bdab296cae
commit e33b403093
2 changed files with 3 additions and 1 deletions

View File

@@ -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)

View File

@@ -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)