Browse Source

feedparser: fix syntax error

Andrew Dolgov 7 years ago
parent
commit
e4071d2544
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/feedparser.php

+ 1 - 1
classes/feedparser.php

@@ -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);