]> git.wh0rd.org Git - tt-rss.git/commitdiff
properly show ttrss_feeds.private in feed editor
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 30 Sep 2008 11:34:49 +0000 (12:34 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 30 Sep 2008 11:34:49 +0000 (12:34 +0100)
modules/pref-feeds.php

index 93a2ce9c4c6b4ab9873d39eb72f3b01f75c6f308..613e9bf407fabde1af5e14846f9d5d951e70cbaf 100644 (file)
 
                        print "<div style=\"line-height : 100%\">";
 
+                       $private = sql_bool_to_bool(db_fetch_result($result, 0, "private"));
+
+                       if ($private) {
+                               $checked = "checked";
+                       } else {
+                               $checked = "";
+                       }
+
                        print "<input type=\"checkbox\" name=\"private\" id=\"private\" 
                                $checked>&nbsp;<label for=\"private\">".__('Hide from "Other Feeds"')."</label>";