diff --git a/strongarm.module b/strongarm.module index aed9382..99238b2 100644 --- a/strongarm.module +++ b/strongarm.module @@ -231,12 +231,12 @@ function strongarm_features_pipe_node_alter(&$pipe, $data, $export) { */ function strongarm_strongarm_export_render_alter(&$value, $name) { switch ($name) { - // Do not allow the export of 'javascript' value of the default language - // object because this value is a hash and depends on the specific instance - // of the site. Exporting this key will mark 'language_default' variable - // as overriden even after reverting. + // Export the 'javascript' property of the default language object always + // with a default value of ''. This property is a hash and depends on the + // specific instance of the site. Otherwise the 'language_default' variable + // is marked as overriden even after reverting. case 'language_default': - unset($value->javascript); + $value->javascript = ''; return; } }