diff options
author | George Petculescu <gxgpet@users.noreply.github.com> | 2022-11-06 15:05:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-06 15:05:57 +0100 |
commit | ca889b00ef4d561b181e1df383b91c1f28e3501f (patch) | |
tree | 32dd08026e010924b2183710d241221ee231bea2 /system/libraries | |
parent | 9b8f2b7a8405acd1b8ad5956ada3d84472b1e8ae (diff) | |
parent | 8d80bef64b79f6cddc1e631760d862c563b525bf (diff) |
Merge pull request #6150 from orionstar/develop
fixes #6149 + removing deprecated variable variables in general
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Xmlrpc.php | 2 | ||||
-rw-r--r-- | system/libraries/Xmlrpcs.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php index 876232c5c..8587015e8 100644 --- a/system/libraries/Xmlrpc.php +++ b/system/libraries/Xmlrpc.php @@ -1719,7 +1719,7 @@ class XML_RPC_Values extends CI_Xmlrpc if ($typeof != 1) { - echo '<strong>XML_RPC_Values</strong>: not a scalar type (${typeof})<br />'; + echo "<strong>XML_RPC_Values</strong>: not a scalar type ($typeof)<br />"; return 0; } 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'); |