Skip to content
Permalink
Browse files

Improve robustness

  • Loading branch information...
flack committed Mar 4, 2019
1 parent f347255 commit 7ca205b93e2e99bb02d61e9189794175334b9719
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/midcom/services/toolbars.php
@@ -246,7 +246,7 @@ function _render_toolbar($toolbar_identifier)
{
$context_id = midcom_core_context::get()->id;
if (!array_key_exists($context_id, $this->_toolbars)) {
if (empty($this->_toolbars[$context_id][$toolbar_identifier])) {
return '';
}

0 comments on commit 7ca205b

Please sign in to comment.
You can’t perform that action at this time.