From 0bcbeec4d8262267bc40da7b006f465d4f7b5375 Mon Sep 17 00:00:00 2001 From: e107steved Date: Tue, 23 Sep 2008 20:03:45 +0000 Subject: [PATCH] Bugtracker #4519 - don't include blocked comments in RSS feed --- e107_plugins/rss_menu/rss.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_plugins/rss_menu/rss.php b/e107_plugins/rss_menu/rss.php index a66866858..3c6443397 100644 --- a/e107_plugins/rss_menu/rss.php +++ b/e107_plugins/rss_menu/rss.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $ -| $Revision: 1.5 $ -| $Date: 2008-08-06 19:10:42 $ +| $Revision: 1.6 $ +| $Date: 2008-09-23 20:03:45 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -224,7 +224,7 @@ class rssCreate { case comments: case 5: $path=''; - $this -> rssQuery = "SELECT * FROM #comments ORDER BY comment_datestamp DESC LIMIT 0,".$this -> limit; + $this -> rssQuery = "SELECT * FROM `#comments` WHERE `comment_blocked` = 0 ORDER BY `comment_datestamp` DESC LIMIT 0,".$this -> limit; $sql->db_Select_gen($this -> rssQuery); $tmp = $sql->db_getList(); $this -> rssItems = array();