Skip to content
Snippets Groups Projects
Commit 5dbae525 authored by Kevin Paxman's avatar Kevin Paxman Committed by Eric Bremner
Browse files

ISTWCMS-7131: don't try to check keys that aren't set

parent d86c6d3c
No related branches found
No related tags found
1 merge request!250ISTWCMS-7131: don't try to check keys that aren't set
......@@ -262,12 +262,13 @@ class UwBlockManualElements {
// If we are not updating a block, we have to get the node ids
// from the block config.
if (!$updating_block) {
if (isset($config[$name])) {
// Get the ids from the block config.
$ids = $config[$name][$ids_name];
// Get the ids from the block config.
$ids = $config[$name][$ids_name];
// Set the ids into the form state.
$form_state->set($ids_name, $ids);
// Set the ids into the form state.
$form_state->set($ids_name, $ids);
}
}
// If we are on updating a block, get the ids from the form_state.
else {
......
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