From: Andrew Dolgov Date: Tue, 20 Jan 2009 15:01:20 +0000 (+0100) Subject: feed editor: fix for forced purged mode X-Git-Tag: 1.3.0~23 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=22c1bc60b49e76a9293cd3a5f7cc2ff6cfdb89c4;p=tt-rss.git feed editor: fix for forced purged mode --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 532a8f53..8668c97c 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -276,18 +276,21 @@ print_select_hash("update_method", $update_method, $update_methods); } + $purge_interval = db_fetch_result($result, 0, "purge_interval"); + if (FORCE_ARTICLE_PURGE == 0) { /* Purge intl */ print "
"; - $purge_interval = db_fetch_result($result, 0, "purge_interval"); - print __('Article purging:') . " "; print_select_hash("purge_interval", $purge_interval, $purge_intervals); + } else { + print ""; + } print "";