From cab891c1e5cf206b1fb841b54656fa2cbd8ca96f Mon Sep 17 00:00:00 2001 From: Roland Mas Date: Fri, 12 Feb 2010 16:37:10 +0000 Subject: [PATCH] Fixed SQL error --- gforge/www/export/rss20_news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gforge/www/export/rss20_news.php b/gforge/www/export/rss20_news.php index 918505ded0..ab3610c918 100644 --- a/gforge/www/export/rss20_news.php +++ b/gforge/www/export/rss20_news.php @@ -62,7 +62,7 @@ AND u.user_id=news_bytes.submitted_by AND g.is_public=1 AND g.status=$1 AND news_bytes.is_approved <> 4 -AND (g.group_id=$group_id OR 1 != $3) +AND (g.group_id=$2 OR 1 != $3) AND (is_approved=1 OR 1 != $4) ORDER BY post_date DESC', array ('A', -- 2.30.2