Fixed some missing brackets

git-svn-id: file:///svn/phpbb/trunk@1075 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-09-25 00:51:39 +00:00
parent b14ed5c2fd
commit 335f76754b

View file

@ -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;
}