diff options
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Xmlrpcs.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/libraries/Xmlrpcs.php b/system/libraries/Xmlrpcs.php index 5ba1dd041..bdbb85bb8 100644 --- a/system/libraries/Xmlrpcs.php +++ b/system/libraries/Xmlrpcs.php @@ -202,7 +202,10 @@ class CI_Xmlrpcs extends CI_Xmlrpc for($i=0; $i < sizeof($parser_object->xh[$parser]['params']); $i++)
{
- $plist .= "$i - " . print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
+ if ($this->debug === TRUE)
+ {
+ $plist .= "$i - " . print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
+ }
$m->addParam($parser_object->xh[$parser]['params'][$i]);
}
|