diff --git a/index.php b/index.php index cfff4012c4..e0d6a00c04 100755 --- a/index.php +++ b/index.php @@ -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']);