From: Andrew Dolgov Date: Fri, 16 Jan 2009 15:23:36 +0000 (+0100) Subject: fresh_article_max_age: use owner_uid when necessary X-Git-Tag: 1.3.0~148 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b71e188e27445dcad28653a86e3cbe41a544ac90;p=tt-rss.git fresh_article_max_age: use owner_uid when necessary --- 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' ";