From db4b9f0532cefebb18d4ced36add1eec16fb119a Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Fri, 17 Jun 2016 21:23:56 +0300 Subject: debug --- src/NeonXP/DozorApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/NeonXP') diff --git a/src/NeonXP/DozorApi.php b/src/NeonXP/DozorApi.php index 8c7c510..ad7116d 100644 --- a/src/NeonXP/DozorApi.php +++ b/src/NeonXP/DozorApi.php @@ -56,7 +56,7 @@ class DozorApi $result = file_get_contents($this->getLink($chat), false, $context); $contextData['result'] = $result; - return json_encode($contextData, JSON_UNESCAPED_UNICODE); + return serialize($contextData); } private function parseResult($html) -- cgit v1.2.3