From 96882a91d8773c60540dea5e3a05308e310a880c Mon Sep 17 00:00:00 2001 From: webchick Date: Sat, 31 Dec 2011 15:55:20 -0800 Subject: Issue #1382144 by Chi: Rename variable in standard profile. --- profiles/standard/standard.install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 5d447177f..ccc70443f 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -65,7 +65,7 @@ function standard_install() { // Enable some standard blocks. $default_theme = variable_get('theme_default', 'bartik'); $admin_theme = 'seven'; - $values = array( + $blocks = array( array( 'module' => 'system', 'delta' => 'main', @@ -188,8 +188,8 @@ function standard_install() { ), ); $query = db_insert('block')->fields(array('module', 'delta', 'theme', 'status', 'weight', 'region', 'pages', 'cache')); - foreach ($values as $record) { - $query->values($record); + foreach ($blocks as $block) { + $query->values($block); } $query->execute(); -- cgit v1.2.3