summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <frei@neonxp.info>2016-06-18 13:34:32 +0300
committerAlexander NeonXP Kiryukhin <frei@neonxp.info>2016-06-18 13:34:32 +0300
commitd47e0f1e42fac0f9024720d0218f71e5fae57f5c (patch)
tree5180e3bf08068dd501e51256bf11ff4719f8df95 /src
parent46ede2d67f442a4a2f06b1899f1935b6ef4c2149 (diff)
Fix code enter
Diffstat (limited to 'src')
-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 5a6498c..da724a9 100644
--- a/src/NeonXP/DozorApi.php
+++ b/src/NeonXP/DozorApi.php
@@ -78,7 +78,7 @@ class DozorApi
private function parseCodeEnter($html)
{
$html = iconv('cp1251', 'utf8', $html);
- $regex = '/\<\!\-\-errorText\-\-\>\<p\>\<strong\>(.+?)\<\/strong\>\<\/p\>\<\!\-\-errorTextEnd\-\-\>'
+ $regex = '/\<\!\-\-errorText\-\-\>\<p\>\<strong\>(.+?)\<\/strong\>\<\/p\>\<\!\-\-errorTextEnd\-\-\>';
$result = [];
preg_match($regex, $html, $result);
return $result[1];