1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy

PHPBB3-12721
This commit is contained in:
Tristan Darricau
2014-06-15 21:34:02 +02:00
parent 06bf864c41
commit 09fc008e62
10 changed files with 14 additions and 10 deletions

View File

@@ -60,7 +60,7 @@ class helper
$data[$type] .= ($data[$type] !== '$') ? '\\' : '';
$data[$type] .= str_replace('$', '', $value);
}
elseif ($type == 'settings')
else if ($type == 'settings')
{
$data[$type] .= ($data[$type] !== '$') ? '$' : '';
$data[$type] .= $value;