From: Andrew Dolgov Date: Fri, 3 Nov 2006 04:05:43 +0000 (+0100) Subject: fix sql syntax error when exporting opml w/o cats X-Git-Tag: 1.2.5~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2513ae2bc91f26b4a313066d7d656b39def50906;p=tt-rss.git fix sql syntax error when exporting opml w/o cats --- 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 = "";