Skip to content

A free, self-hostable news aggregator…

Minor quotes

Alexandre Alapetite2c92860310d3
diff --git a/lib/lib_opml.php b/lib/lib_opml.php
index 0414868fb..a3af54596 100644
--- a/lib/lib_opml.php
+++ b/lib/lib_opml.php
@@ -131,7 +131,7 @@ function preprocessing_categories($doc) {
$outline_categories = [];
$body = $doc->getElementsByTagName('body')->item(0);
$xpath = new DOMXpath($doc);
- $outlines = $xpath->query("/opml/body/outline[@category]");
+ $outlines = $xpath->query('/opml/body/outline[@category]');
foreach ($outlines as $outline) {
$category = trim($outline->getAttribute('category'));
if ($category != '') {