From: Roland Mas Date: Fri, 12 Feb 2010 16:37:10 +0000 (+0000) Subject: Fixed SQL error X-Git-Tag: v5_0_rc1~70 X-Git-Url: https://scm.fusionforge.org/anonscm/gitweb?p=fusionforge%2Ffusionforge.git;a=commitdiff_plain;h=cab891c1e5cf206b1fb841b54656fa2cbd8ca96f Fixed SQL error --- 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',