From 2513ae2bc91f26b4a313066d7d656b39def50906 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 3 Nov 2006 05:05:43 +0100 Subject: [PATCH] fix sql syntax error when exporting opml w/o cats --- opml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opml.php b/opml.php index 16802678..10220d43 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 = ""; -- 2.39.5