mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
GLOBAL'ed the variable.
This commit is contained in:
parent
3aaee26209
commit
840d33bbc8
@ -50,10 +50,10 @@
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/home.php'));
|
||||
}
|
||||
|
||||
$obj = CreateObject(sprintf('%s.%s',$app,$class));
|
||||
if ((is_array($obj->public_functions) && $obj->public_functions[$method]) && ! $invalid_data)
|
||||
$GLOBALS['obj'] = CreateObject(sprintf('%s.%s',$app,$class));
|
||||
if ((is_array($GLOBALS['obj']->public_functions) && $GLOBALS['obj']->public_functions[$method]) && ! $invalid_data)
|
||||
{
|
||||
eval("\$obj->$method();");
|
||||
eval("\$GLOBALS['obj']->$method();");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -72,3 +72,4 @@
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw']->common->phpgw_footer();
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user