]> git.wh0rd.org Git - tt-rss.git/commitdiff
feed_purge_interval: fix bug
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Jan 2009 12:52:27 +0000 (13:52 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Jan 2009 12:52:27 +0000 (13:52 +0100)
functions.php

index d80c6fb5e4b2014ca161b6bee28750bb40f16ee6..6ae16331f5e2066b5ef0fce39f5bfdcf7201e945 100644 (file)
                        $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;