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:
jengo 2001-11-12 22:07:52 +00:00
parent c5b92cf216
commit 0b9d3e5f44

View File

@ -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);