summaryrefslogtreecommitdiff
path: root/src/NeonXP/DozorApi.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/NeonXP/DozorApi.php')
-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];