mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
Added a band-aid(tm) to prevent things from blowning up when you don't pass parameters to a method
This commit is contained in:
parent
c5b92cf216
commit
0b9d3e5f44
@ -322,8 +322,11 @@
|
||||
// phpgw mod - finally, execute the function call and return the values
|
||||
$params = $GLOBALS['_xh'][$parser]['params'][0];
|
||||
$code = '$p = ' . $params . ';';
|
||||
if ($code != '$p = ;')
|
||||
{
|
||||
eval($code);
|
||||
$params = $p->getval();
|
||||
}
|
||||
|
||||
// _debug_array($params);
|
||||
//$this->reqtoarray($params);
|
||||
|
Loading…
Reference in New Issue
Block a user