Skip to content
Snippets Groups Projects
Commit 042afe76 authored by Max's avatar Max Committed by Brooke Stevens
Browse files

Issue #3367018: Fix warning for custom blocks

parent 2d7f4dd8
No related branches found
Tags 1.0.1
1 merge request!1Issue #3367018: Fix warning for custom blocks
......@@ -64,7 +64,7 @@ class OverriddenBrowserController extends BrowserController {
$links[] = $link;
$pieces = explode(':', $block_id);
$bundle = $pieces[1];
$bundle = $pieces[1] ?? NULL;
if ($block['id'] == 'inline_block') {
$attributes = $this->getAjaxAttributes();
$attributes['class'][] = 'browse-library-icon';
......
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