Fix objectGetCustomVars

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-09-20 08:33:00 +02:00
committed by Chris Morgan
parent af87e89535
commit fdfe3eb2d3
2 changed files with 7 additions and 6 deletions

View File

@@ -736,14 +736,15 @@ class ObjectManager
return null; /* No vars */
$aVars = array();
$aVarNames = $oObject->objectGetCustomVars($sAction);
foreach($oObject->objectGetCustomVars($aClean, $sAction) as $sVar)
if(!$aVarNames) /* No vars */
return null;
foreach($aVarNames as $sVar)
$aVars[$sVar] = $aClean[$sVar];
if(!sizeof($aVars))
return null; /* No vars */
else
return $aVars;
return $aVars;
}
/* View an entry */