summaryrefslogtreecommitdiff
path: root/src/NeonXP
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <frei@neonxp.info>2016-06-17 21:23:56 +0300
committerAlexander NeonXP Kiryukhin <frei@neonxp.info>2016-06-17 21:23:56 +0300
commitdb4b9f0532cefebb18d4ced36add1eec16fb119a (patch)
treec0b64ef6262f38400dd76712fc1744ec12eab5d9 /src/NeonXP
parent07af868f6700b7e0f564987e770f1579d8cff9fc (diff)
debug
Diffstat (limited to 'src/NeonXP')
-rw-r--r--src/NeonXP/DozorApi.php2
1 files changed, 1 insertions, 1 deletions
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)