summaryrefslogtreecommitdiff
path: root/opml.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-11-03 05:05:43 +0100
committerAndrew Dolgov <[email protected]>2006-11-03 05:05:43 +0100
commit2513ae2bc91f26b4a313066d7d656b39def50906 (patch)
tree2d4658abdf05cf1578a2a9d6f1d7d28f9a175e1a /opml.php
parentb2128f017e36b8b04fffd0419eb4a888a4080ad8 (diff)
fix sql syntax error when exporting opml w/o cats
Diffstat (limited to 'opml.php')
-rw-r--r--opml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/opml.php b/opml.php
index 168026785..10220d43d 100644
--- a/opml.php
+++ b/opml.php
@@ -49,7 +49,7 @@
ORDER BY cat_title,title");
} else {
$result = db_query($link, "SELECT * FROM ttrss_feeds
- ORDER BY title WHERE owner_uid = '$owner_uid'");
+ WHERE owner_uid = '$owner_uid' ORDER BY title");
}
$old_cat_title = "";