@@ -229,9 +229,9 @@ |
||
| 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 | - $default = "DEFAULT '{$fieldDefault}'"; |
|
| 234 | + $default = "DEFAULT '{$fieldDefault}'"; |
|
| 235 | 235 | break; |
| 236 | 236 | case 11: |
| 237 | 237 | $type = $fieldTypeName.'('.$fieldValue.')'; |
@@ -367,20 +367,20 @@ |
||
| 367 | 367 | { |
| 368 | 368 | $module = $this->getModule(); |
| 369 | 369 | $table = $this->getTable(); |
| 370 | - $tables = $this->getTableTables($module->getVar('mod_id')); |
|
| 370 | + $tables = $this->getTableTables($module->getVar('mod_id')); |
|
| 371 | 371 | $tableAdmin = array(); |
| 372 | - $tableUser = array(); |
|
| 373 | - $tableSubmenu = array(); |
|
| 374 | - $tableBlocks = array(); |
|
| 375 | - $tableNotifications = array(); |
|
| 376 | - $tablePermissions = array(); |
|
| 377 | - foreach (array_keys($tables) as $t) { |
|
| 372 | + $tableUser = array(); |
|
| 373 | + $tableSubmenu = array(); |
|
| 374 | + $tableBlocks = array(); |
|
| 375 | + $tableNotifications = array(); |
|
| 376 | + $tablePermissions = array(); |
|
| 377 | + foreach (array_keys($tables) as $t) { |
|
| 378 | 378 | $tableAdmin[] = $tables[$t]->getVar('table_admin'); |
| 379 | - $tableUser[] = $tables[$t]->getVar('table_user'); |
|
| 380 | - $tableSubmenu[] = $tables[$t]->getVar('table_submenu'); |
|
| 381 | - $tableBlocks[] = $tables[$t]->getVar('table_blocks'); |
|
| 382 | - $tableNotifications[] = $tables[$t]->getVar('table_notifications'); |
|
| 383 | - $tablePermissions[] = $tables[$t]->getVar('table_permissions'); |
|
| 379 | + $tableUser[] = $tables[$t]->getVar('table_user'); |
|
| 380 | + $tableSubmenu[] = $tables[$t]->getVar('table_submenu'); |
|
| 381 | + $tableBlocks[] = $tables[$t]->getVar('table_blocks'); |
|
| 382 | + $tableNotifications[] = $tables[$t]->getVar('table_notifications'); |
|
| 383 | + $tablePermissions[] = $tables[$t]->getVar('table_permissions'); |
|
| 384 | 384 | } |
| 385 | 385 | $filename = $this->getFileName(); |
| 386 | 386 | $moduleDirname = $module->getVar('mod_dirname'); |