From: Andrew Dolgov Date: Tue, 30 Sep 2008 11:34:49 +0000 (+0100) Subject: properly show ttrss_feeds.private in feed editor X-Git-Tag: 1.2.28~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=886d4bce27b459e5991e49e28a27101847a9ddd3;p=tt-rss.git properly show ttrss_feeds.private in feed editor --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 93a2ce9c..613e9bf4 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -305,6 +305,14 @@ print "
"; + $private = sql_bool_to_bool(db_fetch_result($result, 0, "private")); + + if ($private) { + $checked = "checked"; + } else { + $checked = ""; + } + print " ";