diff --git a/phpBB/includes/sql_parse.php b/phpBB/includes/sql_parse.php index 8f8a52b8f9..8509390393 100644 --- a/phpBB/includes/sql_parse.php +++ b/phpBB/includes/sql_parse.php @@ -43,11 +43,11 @@ function remove_comments($sql) $in_comment = false; for($i = 0; $i < $linecount; $i++) { - if(ereg("^\/\*", $lines[$i]) + if( ereg("^\/\*", $lines[$i]) ) { $in_comment = true; } - if(ereg("\*\/$", $lines[$i]) + if( ereg("\*\/$", $lines[$i]) ) { $in_comment = false; }