Fix priority of Member->getHtmlEditorConfigForCMS() (silverstripe/silverstripe-cms#728)

This commit is contained in:
Ingo Schommer 2013-05-22 21:31:19 +02:00
parent ac0e324e1c
commit ee784c3663

View File

@ -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');
}
}
}