Fix for methode-hooks with no return-value

This commit is contained in:
Ralf Becker 2003-05-24 14:25:13 +00:00
parent 8d77552935
commit cef302db7b

View File

@ -77,6 +77,11 @@
foreach($order as $appname) foreach($order as $appname)
{ {
$results[$appname] = $this->single($args,$appname,$no_permission_check); $results[$appname] = $this->single($args,$appname,$no_permission_check);
if (!isset($results[$appname])) // happens if the methode hook has no return-value
{
$results[$appname] = False;
}
} }
/* Then add the rest */ /* Then add the rest */