mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix priority of Member->getHtmlEditorConfigForCMS() (silverstripe/silverstripe-cms#728)
This commit is contained in:
parent
ac0e324e1c
commit
ee784c3663
@ -1424,6 +1424,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
||||
$config = HtmlEditorConfig::get($group->HtmlEditorConfig);
|
||||
if($config && $config->getOption('priority') > $currentPriority) {
|
||||
$currentName = $configName;
|
||||
$currentPriority = $config->getOption('priority');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user