summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-02-06 09:26:15 +0100
committerAndrew Dolgov <[email protected]>2008-02-06 09:26:15 +0100
commit7a22dc2ad5f210e13a63c1bccb89ece06005dd7c (patch)
tree99b48c90007351a3320b5456cd8f8e76399cf4d7 /functions.php
parent3f7e6cd005dc44e7f64ef02f9b462f0fecba11e7 (diff)
publish: get_pref: properly set owner_uid
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index b85b10259..4af6e3b54 100644
--- a/functions.php
+++ b/functions.php
@@ -3128,7 +3128,7 @@
} else if ($feed == -3) { // fresh virtual feed
$query_strategy_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") {
$query_strategy_part .= " AND date_entered > NOW() - INTERVAL '$intl hour' ";
@@ -3154,7 +3154,7 @@
$query_strategy_part = "id > 0"; // dumb
}
- if (get_pref($link, 'REVERSE_HEADLINES')) {
+ if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) {
$order_by = "updated";
} else {
$order_by = "updated DESC";