if (get_pref($link, 'ENABLE_FEED_CATS')) {
$cat_mode = true;
$result = db_query($link, "SELECT
if (get_pref($link, 'ENABLE_FEED_CATS')) {
$cat_mode = true;
$result = db_query($link, "SELECT
- ttrss_feeds.feed_url AS feed_url,
- ttrss_feeds.title AS title,
+ title,feed_url,site_url,
while ($line = db_fetch_assoc($result)) {
$title = htmlspecialchars($line["title"]);
$url = htmlspecialchars($line["feed_url"]);
while ($line = db_fetch_assoc($result)) {
$title = htmlspecialchars($line["title"]);
$url = htmlspecialchars($line["feed_url"]);
$cat_title = db_escape_string($outline->get_attribute('title'));
$feed_url = db_escape_string($outline->get_attribute('xmlUrl'));
$cat_title = db_escape_string($outline->get_attribute('title'));
$feed_url = db_escape_string($outline->get_attribute('xmlUrl'));