From 863be6cad660220b4164a67f1cc8d179b981ff03 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Jan 2009 13:52:27 +0100 Subject: feed_purge_interval: fix bug --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index d80c6fb5e..6ae16331f 100644 --- a/functions.php +++ b/functions.php @@ -283,7 +283,7 @@ $owner_uid = db_fetch_result($result, 0, "owner_uid"); if ($purge_interval == 0) $purge_interval = get_pref($link, - 'PURGE_OLD_DAYS', $user_id); + 'PURGE_OLD_DAYS', $owner_uid); return $purge_interval; -- cgit v1.2.3