mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 00:45:56 +00:00
outputHeadlinesList: properly handle always_display_enclosures when feed_id is null
This commit is contained in:
@@ -5520,7 +5520,9 @@
|
||||
}
|
||||
|
||||
$tmp_result = db_query($link, "SELECT always_display_enclosures FROM
|
||||
ttrss_feeds WHERE id = ".$line['feed_id']." AND owner_uid = ".$_SESSION["uid"]);
|
||||
ttrss_feeds WHERE id = ".
|
||||
(($line['feed_id'] == null) ? $line['orig_feed_id'] :
|
||||
$line['feed_id'])." AND owner_uid = ".$_SESSION["uid"]);
|
||||
|
||||
$always_display_enclosures = db_fetch_result($tmp_result, 0, "always_display_enclosures");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user