Merge branch 'w16_MDL-39141_m24_toolbar' of git://github.com/skodak/moodle into MOODLE_24_STABLE
This commit is contained in:
@@ -172,8 +172,7 @@ class tinymce_texteditor extends texteditor {
|
||||
);
|
||||
|
||||
// Should we override the default toolbar layout unconditionally?
|
||||
$customtoolbar = self::parse_toolbar_setting($config->customtoolbar);
|
||||
if ($customtoolbar) {
|
||||
if (!empty($config->customtoolbar) and $customtoolbar = self::parse_toolbar_setting($config->customtoolbar)) {
|
||||
$i = 1;
|
||||
foreach ($customtoolbar as $line) {
|
||||
$params['theme_advanced_buttons'.$i] = $line;
|
||||
|
||||
Reference in New Issue
Block a user