Skip to content
Snippets Groups Projects
Commit 292e8a13 authored by Fabien Leroux's avatar Fabien Leroux Committed by Marc van Gend
Browse files

Issue #1943196 by B-Prod | Bernsch: Fixed Undefined index: fieldblock in...

Issue #1943196 by B-Prod | Bernsch: Fixed Undefined index: fieldblock in fieldblock_field_display_submit()
parent ea1278e8
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ function fieldblock_field_display_submit($form, &$form_state) { ...@@ -51,7 +51,7 @@ function fieldblock_field_display_submit($form, &$form_state) {
$settings = array(); $settings = array();
foreach ($form_state['values']['fields'] as $field_name => $field) { foreach ($form_state['values']['fields'] as $field_name => $field) {
if ($field['fieldblock']) { if (!empty($field['fieldblock'])) {
$settings[$field_name] = $field_name; $settings[$field_name] = $field_name;
} }
} }
......
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