mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +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 */
|
/* phpgw mod - finally, execute the function call and return the values */
|
||||||
$params = $GLOBALS['_xh'][$parser]['params'][0];
|
$params = $GLOBALS['_xh'][$parser]['params'][0];
|
||||||
$code = '$p = ' . $params . ';';
|
$code = '$p = ' . $params . ';';
|
||||||
eval($code);
|
if (count($params) != 0)
|
||||||
$params = $p->getval();
|
{
|
||||||
|
eval($code);
|
||||||
|
$params = $p->getval();
|
||||||
|
}
|
||||||
|
|
||||||
// _debug_array($params);
|
// _debug_array($params);
|
||||||
$this->reqtoarray($params);
|
$this->reqtoarray($params);
|
||||||
|
Loading…
Reference in New Issue
Block a user