feed editor: fix for forced purged mode

master
Andrew Dolgov 16 years ago
parent 84004f8c5f
commit 22c1bc60b4

@ -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>";

Loading…
Cancel
Save