]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix sql syntax error when exporting opml w/o cats
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 3 Nov 2006 04:05:43 +0000 (05:05 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 3 Nov 2006 04:05:43 +0000 (05:05 +0100)
opml.php

index 1680267850f00553a0fafad70b4c795b4c46942b..10220d43d9febd2d1c21a7beff3063554483fda5 100644 (file)
--- 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 = "";