diff options
author | Alexander NeonXP Kiryukhin <frei@neonxp.info> | 2016-06-18 13:34:32 +0300 |
---|---|---|
committer | Alexander NeonXP Kiryukhin <frei@neonxp.info> | 2016-06-18 13:34:32 +0300 |
commit | d47e0f1e42fac0f9024720d0218f71e5fae57f5c (patch) | |
tree | 5180e3bf08068dd501e51256bf11ff4719f8df95 | |
parent | 46ede2d67f442a4a2f06b1899f1935b6ef4c2149 (diff) |
Fix code enter
-rw-r--r-- | src/NeonXP/DozorApi.php | 2 |
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]; |