Browse Source

notice fix

liangl 11 years ago
parent
commit
64b08c708b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      applications/Demo/Lib/Gateway.php

+ 1 - 1
applications/Demo/Lib/Gateway.php

@@ -277,7 +277,7 @@ class Gateway
            $connections = self::$businessWorker->getGatewayConnections();
            if(!isset($connections[$address]))
            {
-               $e = new \Exception("sendToGateway($address, $buffer) fail \$connections:".json_encode($connections));
+               $e = new \Exception("sendToGateway($address, $buffer) fail \$connections:".var_export($connections, true));
                return false;
            }
            return self::$businessWorker->sendToClient($buffer, $connections[$address]);