summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-16 16:23:36 +0100
committerAndrew Dolgov <[email protected]>2009-01-16 16:23:36 +0100
commitb71e188e27445dcad28653a86e3cbe41a544ac90 (patch)
tree6cf2cf353ac4d5b05e97e2a227138aabc8fca13a /functions.php
parent0737b95a56476b79427b613b50ec4979410244bc (diff)
fresh_article_max_age: use owner_uid when necessary
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 50f5f7236..ce0360c89 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' ";