PPortal web page improvements: protected update feature (class/attcodes explicitely restricted)

SVN:trunk[1324]
This commit is contained in:
Romain Quetiez
2011-07-04 09:54:58 +00:00
parent 5ff5ea71de
commit c7fbe56423
2 changed files with 23 additions and 8 deletions

View File

@@ -2156,9 +2156,9 @@ EOF
$aErrors = array();
if (!is_array($aAttList))
{
$sAttList = $this->FlattenZList(MetaModel::GetZListItems(get_class($this), 'details'));
$aAttList = $this->FlattenZList(MetaModel::GetZListItems(get_class($this), 'details'));
}
foreach($sAttList as $sAttCode)
foreach($aAttList as $sAttCode)
{
$oAttDef = MetaModel::GetAttributeDef(get_class($this), $sAttCode);