aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_opml.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-12 18:43:32 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-12 18:43:32 +0200
commit40f1873de790b28890d65263ec1f8426121ae951 (patch)
tree50b0e96dda35270f2258fad2c184817e3db03598 /lib/lib_opml.php
parent112b744665330d535d98a72036fd3600e8184593 (diff)
OPML compatibility PHP 5.3
https://github.com/FreshRSS/FreshRSS/issues/1202 https://github.com/FreshRSS/FreshRSS/pull/1206
Diffstat (limited to 'lib/lib_opml.php')
-rw-r--r--lib/lib_opml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_opml.php b/lib/lib_opml.php
index a3af54596..b89e92977 100644
--- a/lib/lib_opml.php
+++ b/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]');