Scrut fixes

This commit is contained in:
Daniel Preussker
2016-03-04 14:36:47 +00:00
parent 702fa61458
commit 29eea12b08

View File

@ -372,7 +372,7 @@ function FormatAlertTpl($obj) {
$s = strlen($msg);
$x = $pos = -1;
$buff = '';
$if = $for = false;
$if = $for = $calc = false;
while (++$x < $s) {
if ($msg[$x] == '{' && $buff == '') {
$buff .= $msg[$x];