fix for bug with old php4.3 versions, eg. infolog edit always gets redirected to home

This commit is contained in:
Ralf Becker 2005-11-19 17:23:56 +00:00
parent a386bda791
commit 3f8a1cf977

View File

@ -121,7 +121,7 @@
$app = 'phpgwapi';
}
$GLOBALS[$class] =& CreateObject($app.'.'.$class);
$GLOBALS[$class] = CreateObject($app.'.'.$class); // dont use =& with $GLOBALS, it does NOT behave as expected
if((is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions[$method]) && ! $invalid_data)
{
execmethod($_GET['menuaction']);