feed editor: fix for forced purged mode

This commit is contained in:
Andrew Dolgov 2009-01-20 16:01:20 +01:00
parent 84004f8c5f
commit 22c1bc60b4
1 changed files with 5 additions and 2 deletions

View File

@ -276,18 +276,21 @@
print_select_hash("update_method", $update_method, $update_methods); print_select_hash("update_method", $update_method, $update_methods);
} }
$purge_interval = db_fetch_result($result, 0, "purge_interval");
if (FORCE_ARTICLE_PURGE == 0) { if (FORCE_ARTICLE_PURGE == 0) {
/* Purge intl */ /* Purge intl */
print "<br/>"; print "<br/>";
$purge_interval = db_fetch_result($result, 0, "purge_interval");
print __('Article purging:') . " "; print __('Article purging:') . " ";
print_select_hash("purge_interval", $purge_interval, $purge_intervals); print_select_hash("purge_interval", $purge_interval, $purge_intervals);
} else {
print "<input type='hidden' name='purge_interval' value='$purge_interval'>";
} }
print "</div>"; print "</div>";