fix sql syntax error when exporting opml w/o cats

This commit is contained in:
Andrew Dolgov 2006-11-03 05:05:43 +01:00
parent b2128f017e
commit 2513ae2bc9
1 changed files with 1 additions and 1 deletions

View File

@ -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 = "";