mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
added support for strange _UNDEF_ and True
This commit is contained in:
parent
cd9cf4ef29
commit
9c33f26ab4
@ -106,7 +106,7 @@ function ExecObject($object, $functionparams = '_UNDEF_', $loglevel = 3, $classp
|
||||
list($appname,$classname,$functionname) = explode(".", $object);
|
||||
if (!is_object($GLOBALS[$classname]))
|
||||
{
|
||||
if ($classparams != '_UNDEF_')
|
||||
if ($classparams != '_UNDEF_' && $classparams != True)
|
||||
{
|
||||
$GLOBALS[$classname] = CreateObject($appname.'.'.$classname, $classparams);
|
||||
}
|
||||
@ -116,7 +116,7 @@ function ExecObject($object, $functionparams = '_UNDEF_', $loglevel = 3, $classp
|
||||
}
|
||||
}
|
||||
|
||||
if ($functionparams != '_UNDEF_')
|
||||
if ($functionparams != '_UNDEF_' && $functionparams != True)
|
||||
{
|
||||
return $GLOBALS[$classname]->$functionname($functionparams);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user