diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.install | 2 | ||||
-rw-r--r-- | modules/system/system.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index c21aec25c..ce9886ed7 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2357,7 +2357,7 @@ function system_update_159() { function system_update_160() { $types = module_invoke('node', 'get_types'); if (is_array($types)) { - foreach($types as $type) { + foreach ($types as $type) { if (!is_array(variable_get("node_options_$type", array()))) { variable_set("node_options_$type", array()); } diff --git a/modules/system/system.module b/modules/system/system.module index 9f97e553c..1ca3e90ea 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1050,7 +1050,7 @@ function system_initialize_theme_blocks($theme) { $default_theme = variable_get('theme_default', 'garland'); $regions = system_region_list($theme); $result = db_query("SELECT * FROM {blocks} WHERE theme = '%s'", $default_theme); - while($block = db_fetch_array($result)) { + while ($block = db_fetch_array($result)) { // If the region isn't supported by the theme, assign the block to the theme's default region. if (!array_key_exists($block['region'], $regions)) { $block['region'] = system_default_region($theme); |