diff options
| author | 2016-08-12 18:43:32 +0200 | |
|---|---|---|
| committer | 2016-08-12 18:43:32 +0200 | |
| commit | 40f1873de790b28890d65263ec1f8426121ae951 (patch) | |
| tree | 50b0e96dda35270f2258fad2c184817e3db03598 /lib/lib_opml.php | |
| parent | 112b744665330d535d98a72036fd3600e8184593 (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.php | 2 |
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]'); |
