]> git.mxchange.org Git - friendica.git/commitdiff
Standards enforcing
authorHypolite Petovan <ben.lort@gmail.com>
Sat, 22 Oct 2016 03:08:42 +0000 (23:08 -0400)
committerHypolite Petovan <ben.lort@gmail.com>
Sat, 22 Oct 2016 03:08:42 +0000 (23:08 -0400)
include/text.php

index 3e359f1a60814a4e8d7d20b9bb06b52d69800661..8f15ff294517e8d86e936b6ee4fd9ce067119ec8 100644 (file)
@@ -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);
+                       }
                }
        }