diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2007-01-02 05:05:38 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2007-01-02 05:05:38 +0000 |
commit | dfd86399c07794db856ad3ad4007792057d6c689 (patch) | |
tree | 0516fc3876b5ab983fd776fdc81f6e7ea2a25e98 /modules/system | |
parent | 7172ab6b8f274a170a19dd857e2f394bc23a70a3 (diff) | |
download | brdo-dfd86399c07794db856ad3ad4007792057d6c689.tar.gz brdo-dfd86399c07794db856ad3ad4007792057d6c689.tar.bz2 |
#106232 by chx. Add spaces for code style.
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); |