mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Bugtracker #4519 - don't include blocked comments in RSS feed
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user