mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
he braces style is deprecated as of PHP 6
git-svn-id: file:///svn/phpbb/trunk@6459 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -649,7 +649,7 @@ class bbcode_firstpass extends bbcode
|
||||
preg_match_all('#\[((?:/)?(?:[a-z]+))#i', $username, $tags);
|
||||
foreach ($tags[1] as $tag)
|
||||
{
|
||||
if ($tag{0} != '/')
|
||||
if ($tag[0] != '/')
|
||||
{
|
||||
$end_tags[] = '/' . $tag;
|
||||
}
|
||||
|
Reference in New Issue
Block a user