Commit 0eb731d5 authored by Dries's avatar Dries
Browse files

- Patch #40463 by chx and baudolino: fixed fatal error in forms.inc.

parent b4552cd9
......@@ -1223,3 +1223,15 @@ function system_update_159() {
return $ret;
}
function system_update_160() {
$types = module_invoke('node', 'get_types');
if (is_array($types)) {
foreach($types as $type) {
if (!is_array(variable_get("node_options_$type", array()))) {
variable_set("node_options_$type", array());
}
}
}
return array();
}
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