From 22c1bc60b49e76a9293cd3a5f7cc2ff6cfdb89c4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Jan 2009 16:01:20 +0100 Subject: [PATCH] feed editor: fix for forced purged mode --- modules/pref-feeds.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ""; -- 2.39.5