소스 검색

OPML compatibility PHP 5.3

https://github.com/FreshRSS/FreshRSS/issues/1202
https://github.com/FreshRSS/FreshRSS/pull/1206
Alexandre Alapetite 9 년 전
부모
커밋
40f1873de7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/lib_opml.php

+ 1 - 1
lib/lib_opml.php

@@ -128,7 +128,7 @@ function libopml_parse_outline($outline_xml, $strict = true) {
  * the OPML 2.0 category attribute is used
  */
 function preprocessing_categories($doc) {
-	$outline_categories = [];
+	$outline_categories = array();
 	$body = $doc->getElementsByTagName('body')->item(0);
 	$xpath = new DOMXpath($doc);
 	$outlines = $xpath->query('/opml/body/outline[@category]');