Passed
Push — master ( 216fd2...a79934 )
by Fran
05:02
created
src/controller/I18nController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,9 @@
 block discarded – undo
35 35
     public function getTranslations($locale)
36 36
     {
37 37
         //Default locale
38
-        if (null === $locale) $locale = $this->config->get("default.language", 'es_ES');
38
+        if (null === $locale) {
39
+            $locale = $this->config->get("default.language", 'es_ES');
40
+        }
39 41
 
40 42
         //Generating the templates translations
41 43
         $translations = $this->tpl->regenerateTemplates();
Please login to merge, or discard this patch.