objectManager: Add missing variable initialization

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-04-05 20:28:40 +02:00
parent 9218a808dd
commit f2e3197e97

View File

@@ -1353,6 +1353,7 @@ class ObjectManager
per page values and the second contains the default value. per page values and the second contains the default value.
If the function does not exist we assume no multi-page behaviour */ If the function does not exist we assume no multi-page behaviour */
$oObject = new $this->sClass(); $oObject = new $this->sClass();
$sControls = '';
if(!method_exists($oObject, "objectGetItemsPerPage") || if(!method_exists($oObject, "objectGetItemsPerPage") ||
$oObject->objectGetItemsPerPage($this->sState) === FALSE) $oObject->objectGetItemsPerPage($this->sState) === FALSE)