Skip to content
Snippets Groups Projects
Commit 0eb731d5 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent b4552cd9
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment