mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
You can now have a method that doesn't accept a parameter but returns some
This commit is contained in:
parent
1e377b3007
commit
0e5e1f91b3
@ -338,8 +338,11 @@
|
||||
/* phpgw mod - finally, execute the function call and return the values */
|
||||
$params = $GLOBALS['_xh'][$parser]['params'][0];
|
||||
$code = '$p = ' . $params . ';';
|
||||
eval($code);
|
||||
$params = $p->getval();
|
||||
if (count($params) != 0)
|
||||
{
|
||||
eval($code);
|
||||
$params = $p->getval();
|
||||
}
|
||||
|
||||
// _debug_array($params);
|
||||
$this->reqtoarray($params);
|
||||
|
Loading…
Reference in New Issue
Block a user