summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-26 13:52:16 +0300
committerAndrew Dolgov <[email protected]>2021-02-26 13:52:16 +0300
commit4896874bda76536e29a10a5f7c1ee0fcd40dd201 (patch)
tree0ded2a6cfddadc7680045419e500adb82d67e2c6 /classes
parentfa7c6a61290c92c025d3c8c6e715e5cbe0990077 (diff)
_get_headlines: don't try to use _SESSION uid
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/feeds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index b1b19500f..c35517ecb 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -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 = "";
}