diff --git a/editing_helper.module b/editing_helper.module index d513f52f83cc33890ef0fe1059ae2668ac0278ef..0448cecc5b7501bc3b90f0016ccacc35c4372999 100644 --- a/editing_helper.module +++ b/editing_helper.module @@ -76,8 +76,7 @@ function editing_helper_preprocess_block(array &$variables) { // Check if the block is a field or views block. if ($plugin_id) { - [$block_type, $block_info, $block_bundle, $block_field] = explode(':', $plugin_id) + [NULL, NULL]; - + [$block_type, $block_info, $block_bundle, $block_field] = explode(':', $plugin_id) + [NULL, NULL, NULL, NULL]; switch ($block_type) { case 'block_content': $variables["attributes"]["class"][] = "editing-helper-block editing-helper-block-content";