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