1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Bugtracker #4519 - don't include blocked comments in RSS feed

This commit is contained in:
e107steved
2008-09-23 20:03:45 +00:00
parent 85e621c80d
commit 0bcbeec4d8

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
| $Revision: 1.5 $ | $Revision: 1.6 $
| $Date: 2008-08-06 19:10:42 $ | $Date: 2008-09-23 20:03:45 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -224,7 +224,7 @@ class rssCreate {
case comments: case comments:
case 5: case 5:
$path=''; $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); $sql->db_Select_gen($this -> rssQuery);
$tmp = $sql->db_getList(); $tmp = $sql->db_getList();
$this -> rssItems = array(); $this -> rssItems = array();