Преглед изворни кода

avoid unnecessary indentation

El RIDO пре 1 година
родитељ
комит
5aa7a95841
1 измењених фајлова са 2 додато и 4 уклоњено
  1. 2 4
      lib/I18n.php

+ 2 - 4
lib/I18n.php

@@ -134,10 +134,8 @@ class I18n
                 if (strpos($args[0], '<a') !== false || strpos($args[0], '<kbd>') !== false) {
                     continue;
                 }
-            } else {
-                if (is_int($args[$i])) {
-                    continue;
-                }
+            } elseif (is_int($args[$i])) {
+                continue;
             }
             $args[$i] = self::encode($args[$i]);
         }