Completed
Push — master ( cc5cb8...13cd58 )
by Gino
03:54
created
admin/building.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -73,16 +73,16 @@
 block discarded – undo
73 73
         $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $moduleDirname));
74 74
         // Copy this module in root modules
75 75
         if (1 == $moduleObj->getVar('mod_inroot_copy')) {
76
-			if (isset($moduleDirname)) {
77
-				// Clear this module if it's in root/modules
78
-				// Warning: If you have an older operating module with the same name, 
79
-				// it's good to make a copy in another safe folder, 
80
-				// otherwise it will be deleted irreversibly.
81
-				if (is_dir($toDir)) {
82
-					TDMCreate_clearDir($toDir);
83
-				}
84
-			}
85
-			TDMCreate_copyr($fromDir, $toDir);
76
+            if (isset($moduleDirname)) {
77
+                // Clear this module if it's in root/modules
78
+                // Warning: If you have an older operating module with the same name, 
79
+                // it's good to make a copy in another safe folder, 
80
+                // otherwise it will be deleted irreversibly.
81
+                if (is_dir($toDir)) {
82
+                    TDMCreate_clearDir($toDir);
83
+                }
84
+            }
85
+            TDMCreate_copyr($fromDir, $toDir);
86 86
         }
87 87
         break;
88 88
 
Please login to merge, or discard this patch.
class/files/sql/SqlFile.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
                         break;
230 230
                     case 9:
231 231
                     case 10:
232
-						$fValues = implode("', '", explode(',', str_replace(' ', '', $fieldValue)));
232
+                        $fValues = implode("', '", explode(',', str_replace(' ', '', $fieldValue)));
233 233
                         $type = $fieldTypeName.'(\''.$fValues.'\')'; // Used with comma separator
234 234
                         break;
235 235
                     case 11:
Please login to merge, or discard this patch.