mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Scrut fixes
This commit is contained in:
@@ -372,7 +372,7 @@ function FormatAlertTpl($obj) {
|
|||||||
$s = strlen($msg);
|
$s = strlen($msg);
|
||||||
$x = $pos = -1;
|
$x = $pos = -1;
|
||||||
$buff = '';
|
$buff = '';
|
||||||
$if = $for = false;
|
$if = $for = $calc = false;
|
||||||
while (++$x < $s) {
|
while (++$x < $s) {
|
||||||
if ($msg[$x] == '{' && $buff == '') {
|
if ($msg[$x] == '{' && $buff == '') {
|
||||||
$buff .= $msg[$x];
|
$buff .= $msg[$x];
|
||||||
|
Reference in New Issue
Block a user