]> git.wh0rd.org Git - tt-rss.git/commitdiff
feedparser: fix syntax error
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 11 Nov 2016 16:47:09 +0000 (19:47 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 11 Nov 2016 16:47:09 +0000 (19:47 +0300)
classes/feedparser.php

index 08f8c1debf08b18078c4730e3f795d72082e6827..36ad17f3d70e8985ec05dcdf3c597eca3ea3f406 100644 (file)
@@ -18,7 +18,7 @@ class FeedParser {
 
                        $encoding = strtolower($matches[2]);
 
-                       if (in_array($encoding, array_map('strtolower', mb_list_encodings()))) {
+                       if (in_array($encoding, array_map('strtolower', mb_list_encodings())))
                                $data = mb_convert_encoding($data, 'UTF-8', $encoding);
 
                        $data = preg_replace('/^<\?xml[\t\n\r ].*?\?>/s', $matches[1] . "UTF-8" . $matches[3] , $data);