mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 12:30:42 +02:00
Fixed some missing brackets
git-svn-id: file:///svn/phpbb/trunk@1075 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -43,11 +43,11 @@ function remove_comments($sql)
|
|||||||
$in_comment = false;
|
$in_comment = false;
|
||||||
for($i = 0; $i < $linecount; $i++)
|
for($i = 0; $i < $linecount; $i++)
|
||||||
{
|
{
|
||||||
if(ereg("^\/\*", $lines[$i])
|
if( ereg("^\/\*", $lines[$i]) )
|
||||||
{
|
{
|
||||||
$in_comment = true;
|
$in_comment = true;
|
||||||
}
|
}
|
||||||
if(ereg("\*\/$", $lines[$i])
|
if( ereg("\*\/$", $lines[$i]) )
|
||||||
{
|
{
|
||||||
$in_comment = false;
|
$in_comment = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user