From 9a59878190e91b3cfdeecd83fba2f0421cad25d0 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 21 Oct 2016 23:08:42 -0400 Subject: [PATCH] Standards enforcing --- include/text.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/text.php b/include/text.php index 3e359f1a60..8f15ff2945 100644 --- a/include/text.php +++ b/include/text.php @@ -719,9 +719,10 @@ function logger($msg, $level = 0) { } if (count($LOGGER_LEVELS) == 0) { - foreach (get_defined_constants() as $k => $v){ - if (substr($k, 0, 7) == "LOGGER_") + foreach (get_defined_constants() as $k => $v) { + if (substr($k, 0, 7) == "LOGGER_") { $LOGGER_LEVELS[$v] = substr($k, 7, 7); + } } }