Skip to content

Commit

Permalink
reninitialise the array 😡
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrammatiko committed Feb 19, 2018
1 parent 0efe3c5 commit 4e3b7ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/editors/tinymce/tinymce.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,8 @@ private function tinyButtons($name, $excluded)
// We do some hack here to set the correct icon for 3PD buttons
$icon = 'none icon-' . $icon;

$tempConstructor = array();

// Now we can built the script
$tempConstructor[] = '!(function(){';

Expand Down

0 comments on commit 4e3b7ff

Please sign in to comment.