mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 08:28:43 +01:00
small fix to not use eval
This commit is contained in:
parent
651a91706b
commit
c8d9ba1a5f
@ -127,8 +127,8 @@
|
||||
/* send command to remote server */
|
||||
function send($method_name, $args, $url, $debug=True)
|
||||
{
|
||||
$cmd = '$this->_send_' . $this->mode . '_' . $this->security . '($method_name, $args, $url, $debug);';
|
||||
eval($cmd);
|
||||
$cmd = '_send_' . ($this->mode ? $this->mode : 'xmlrpc') . '_' . $this->security;
|
||||
$this->$cmd($method_name, $args, $url, $debug);
|
||||
return $this->result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user