mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +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 . ';';
|
||||||
|
if (count($params) != 0)
|
||||||
|
{
|
||||||
eval($code);
|
eval($code);
|
||||||
$params = $p->getval();
|
$params = $p->getval();
|
||||||
|
}
|
||||||
|
|
||||||
// _debug_array($params);
|
// _debug_array($params);
|
||||||
$this->reqtoarray($params);
|
$this->reqtoarray($params);
|
||||||
|
Loading…
Reference in New Issue
Block a user