Skip to content
Snippets Groups Projects
Commit 96882a91 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1382144 by Chi: Rename variable in standard profile.

parent 59cb7b4d
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment