Skip to content

Commit

Permalink
fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
alex7r committed Jul 6, 2017
1 parent cef3ca1 commit 80151b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/editors/tinymce/tinymce.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ public function onDisplay(
$editor .= $this->_toogleButton($id);
$editor .= '</div>';

if(!isset($options['tinyMCE']))
{
$options['tinyMCE'] = array();
}

if ($options['tinyMCE'][$fieldName])
{
$options['tinyMCE'][$fieldName] = array_merge($options['tinyMCE'][$fieldName], $params);
Expand Down

0 comments on commit 80151b5

Please sign in to comment.