summaryrefslogtreecommitdiffstats
path: root/system/libraries/Xmlrpcs.php
diff options
context:
space:
mode:
authorLászló Bóra <boralaszlo@gmail.com>2022-07-24 14:48:31 +0200
committerLászló Bóra <boralaszlo@gmail.com>2022-07-24 14:48:31 +0200
commit8d80bef64b79f6cddc1e631760d862c563b525bf (patch)
tree32dd08026e010924b2183710d241221ee231bea2 /system/libraries/Xmlrpcs.php
parent9b8f2b7a8405acd1b8ad5956ada3d84472b1e8ae (diff)
fixes #6149
remove deprecated variable variables / string interpolation in variable names
Diffstat (limited to 'system/libraries/Xmlrpcs.php')
-rw-r--r--system/libraries/Xmlrpcs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Xmlrpcs.php b/system/libraries/Xmlrpcs.php
index b91d3fcb3..eb5a24c49 100644
--- a/system/libraries/Xmlrpcs.php
+++ b/system/libraries/Xmlrpcs.php
@@ -551,8 +551,8 @@ class CI_Xmlrpcs extends CI_Xmlrpc {
*/
public function multicall_error($err)
{
- $str = is_string($err) ? $this->xmlrpcstr["multicall_${err}"] : $err->faultString();
- $code = is_string($err) ? $this->xmlrpcerr["multicall_${err}"] : $err->faultCode();
+ $str = is_string($err) ? $this->xmlrpcstr["multicall_$err"] : $err->faultString();
+ $code = is_string($err) ? $this->xmlrpcerr["multicall_$err"] : $err->faultCode();
$struct['faultCode'] = new XML_RPC_Values($code, 'int');
$struct['faultString'] = new XML_RPC_Values($str, 'string');