forked from extern/egroupware
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';
|
$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)
|
if((is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions[$method]) && ! $invalid_data)
|
||||||
{
|
{
|
||||||
execmethod($_GET['menuaction']);
|
execmethod($_GET['menuaction']);
|
||||||
|
Loading…
Reference in New Issue
Block a user