$query = "SELECT ttrss_feeds.id, ttrss_feeds.title,\r
".SUBSTRING_FOR_DATE."(last_updated,1,19) AS last_updated_noms,\r
cat_id,last_error,\r
- ttrss_feed_categories.title AS category,\r
+ COALESCE(ttrss_feed_categories.title, '".__('Uncategorized')."') AS category,\r
ttrss_feed_categories.collapsed,\r
value AS unread\r
FROM ttrss_feeds LEFT JOIN ttrss_feed_categories\r
\r
$cat_id = $line["cat_id"];\r
$tmp_category = $line["category"];\r
- if (!$tmp_category) $tmp_category = __("Uncategorized");\r
\r
if ($category != $tmp_category && $enable_cats) {\r
\r
$result = db_query($link, "SELECT ttrss_entries.title,
ttrss_feeds.title AS feed_title,
- ttrss_feed_categories.title AS cat_title,
+ COALESCE(ttrss_feed_categories.title, '".__('Uncategorized')."') AS cat_title,
date_updated,
ttrss_user_entries.ref_id,
link,
} */
if (get_pref($link, 'ENABLE_FEED_CATS', $user_id)) {
- if (!$line['cat_title']) $line['cat_title'] = __("Uncategorized");
-
$line['feed_title'] = $line['cat_title'] . " / " . $line['feed_title'];
}