diff --git a/alerts.php b/alerts.php index 669c64d64..818ae6670 100755 --- a/alerts.php +++ b/alerts.php @@ -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];