Passed
Push — master ( 46546a...8247dd )
by Joe Nilson
07:08
created
controller/seguridad_documentos.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
                 'page_to' => 'ventas_factura',
38 38
                 'type' => 'head',
39 39
                 'text' => '<script src="'.FS_PATH.'plugins/residentes/view/js/seguridad_documentos.js?cod='.
40
-                    rand(1000,10000).'" type="text/javascript"></script>',
40
+                    rand(1000, 10000).'" type="text/javascript"></script>',
41 41
                 'params' => ''
42 42
             ),
43 43
             array(
@@ -46,15 +46,15 @@  discard block
 block discarded – undo
46 46
                 'page_to' => 'compras_factura',
47 47
                 'type' => 'head',
48 48
                 'text' => '<script src="'.FS_PATH.'plugins/residentes/view/js/seguridad_documentos.js?cod='.
49
-                    rand(1000,10000).'" type="text/javascript"></script>',
49
+                    rand(1000, 10000).'" type="text/javascript"></script>',
50 50
                 'params' => ''
51 51
             ),
52 52
         );
53 53
 
54
-        foreach($extensiones as $del){
54
+        foreach ($extensiones as $del) {
55 55
             $fext = new fs_extension($del);
56
-            if(!$fext->save()){
57
-                $this->new_error_msg('Imposible guardar los datos de la extensión ' . $ext['name'] . '.');
56
+            if (!$fext->save()) {
57
+                $this->new_error_msg('Imposible guardar los datos de la extensión '.$ext['name'].'.');
58 58
             }
59 59
         }
60 60
     }
Please login to merge, or discard this patch.