aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_protocols/json_encoder.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ws_protocols/json_encoder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_protocols/json_encoder.php b/include/ws_protocols/json_encoder.php
index 5931b8595..7e56ded2a 100644
--- a/include/ws_protocols/json_encoder.php
+++ b/include/ws_protocols/json_encoder.php
@@ -58,7 +58,7 @@ class PwgJsonEncoder extends PwgResponseEncoder
{
function encodeResponse($response)
{
- $respClass = strtolower( get_class($response) );
+ $respClass = strtolower( @get_class($response) );
if ($respClass=='pwgerror')
{
return json_encode(