_get_headlines: don't try to use _SESSION uid

This commit is contained in:
Andrew Dolgov 2021-02-26 13:52:16 +03:00
parent fa7c6a6129
commit 4896874bda
1 changed files with 1 additions and 1 deletions

View File

@ -1622,7 +1622,7 @@ class Feeds extends Handler_Protected {
}
// except for Labels category
if (get_pref(Prefs::HEADLINES_NO_DISTINCT) && !($feed == -2 && $cat_view)) {
if (get_pref(Prefs::HEADLINES_NO_DISTINCT, $owner_uid) && !($feed == -2 && $cat_view)) {
$distinct_qpart = "";
}