]> git.wh0rd.org Git - tt-rss.git/commitdiff
feed editor: fix for forced purged mode
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Jan 2009 15:01:20 +0000 (16:01 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Jan 2009 15:01:20 +0000 (16:01 +0100)
modules/pref-feeds.php

index 532a8f53179cf5b633862e8f9d52a92f52eb50b8..8668c97cec1c5fb748b0b8140fc61c84f48424f1 100644 (file)
                                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 "<br/>";
 
-                               $purge_interval = db_fetch_result($result, 0, "purge_interval");
-
                                print __('Article purging:') . " ";
 
                                print_select_hash("purge_interval", $purge_interval, $purge_intervals);
 
+                       } else {
+                               print "<input type='hidden' name='purge_interval' value='$purge_interval'>";
+
                        }
 
                        print "</div>";