From 29eea12b08e7b3fb9a57e8a5c1d74dfa5a0deba7 Mon Sep 17 00:00:00 2001 From: Daniel Preussker Date: Fri, 4 Mar 2016 14:36:47 +0000 Subject: [PATCH] Scrut fixes --- alerts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alerts.php b/alerts.php index 669c64d643..818ae66704 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];