mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fixed some missing brackets
git-svn-id: file:///svn/phpbb/trunk@1075 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b14ed5c2fd
commit
335f76754b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue