_get_headlines: don't try to use _SESSION uid
This commit is contained in:
parent
fa7c6a6129
commit
4896874bda
|
@ -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 = "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue