From 57586ae96bac7b45300f035deae1eccf557b7a20 Mon Sep 17 00:00:00 2001 From: the_systech Date: Mon, 1 Oct 2001 21:19:02 +0000 Subject: [PATCH] fix for /* */ style comments... git-svn-id: file:///svn/phpbb/trunk@1109 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/sql_parse.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/includes/sql_parse.php b/phpBB/includes/sql_parse.php index 8509390393..d57b44eb9c 100644 --- a/phpBB/includes/sql_parse.php +++ b/phpBB/includes/sql_parse.php @@ -50,6 +50,7 @@ function remove_comments($sql) if( ereg("\*\/$", $lines[$i]) ) { $in_comment = false; + $i++; } if(!$in_comment) {