From b71e188e27445dcad28653a86e3cbe41a544ac90 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 16:23:36 +0100 Subject: [PATCH] fresh_article_max_age: use owner_uid when necessary --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 50f5f723..ce0360c8 100644 --- a/functions.php +++ b/functions.php @@ -2444,7 +2444,7 @@ } else if ($n_feed == -3) { $match_part = "unread = true"; - $intl = get_pref($link, "FRESH_ARTICLE_MAX_AGE"); + $intl = get_pref($link, "FRESH_ARTICLE_MAX_AGE", $owner_uid); if (DB_TYPE == "pgsql") { $match_part .= " AND updated > NOW() - INTERVAL '$intl hour' "; -- 2.39.5