From: Baris Metin Date: Wed, 4 May 2011 21:24:44 +0000 (-0400) Subject: fix ; X-Git-Tag: plcapi-5.0-33~5^2 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=61b3739b78c0697eaa74b4b1419037a81b12ef55 fix ; --- diff --git a/php/plc_api.php b/php/plc_api.php index f704cd4..3224601 100644 --- a/php/plc_api.php +++ b/php/plc_api.php @@ -77,7 +77,7 @@ class PLCAPI $error_line='PLCAPI error: ' . $error_msg ; if ($file) $error_line .= ' in file ' . $file; if ($line) $error_line .= ' on line ' . $line; - $this->errors[] = $error_line + $this->errors[] = $error_line; # TODO: setup a config variable for more detailed stack traces, for API errors. if ( TRUE ){ error_log($error_line);