diff options
-rw-r--r-- | admin/WebConsole/includes/restfunctions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/restfunctions.php b/admin/WebConsole/includes/restfunctions.php index 159eab48..7f710adf 100644 --- a/admin/WebConsole/includes/restfunctions.php +++ b/admin/WebConsole/includes/restfunctions.php @@ -55,7 +55,7 @@ function common_request($command, $type, $data = null) { $info = curl_getinfo($curl); if ($curl_response === false || $info['http_code'] != 200) { - syslog(LOG_ERR, 'error occured during curl exec. Additioanl info: ' . var_export($info)); + syslog(LOG_ERR, 'error occured during curl exec. Additioanl info: ' . print_r($info, TRUE)); return 0; } |