From: Andrew Dolgov Date: Tue, 20 Jan 2009 12:52:27 +0000 (+0100) Subject: feed_purge_interval: fix bug X-Git-Tag: 1.3.0~31 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=863be6cad660220b4164a67f1cc8d179b981ff03;p=tt-rss.git feed_purge_interval: fix bug --- diff --git a/functions.php b/functions.php index d80c6fb5..6ae16331 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;