mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
fix for bug with old php4.3 versions, eg. infolog edit always gets redirected to home
This commit is contained in:
parent
a386bda791
commit
3f8a1cf977
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user