Commit 17175930 authored by patricksettle's avatar patricksettle
Browse files

Merge branch '6.x-2.x' of git.drupal.org:project/strongarm into 6.x-2.x

parents e18eb9c3 9eb533da
......@@ -134,7 +134,7 @@ function variable_features_rebuild($module) {
$vars = strongarm_vars_load(TRUE, TRUE);
foreach ($defaults as $name => $default) {
if (!empty($vars[$name]->in_code_only) || (MAINTENANCE_MODE == 'install' && $vars[$name]->export_type & EXPORT_IN_CODE)) {
if (isset($vars[$name]->in_code_only) || (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'install' && $vars[$name]->export_type & EXPORT_IN_CODE)) {
variable_set($name, $default->value);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment