From ee784c3663435bdbdb073d3855bf733c061f6ad5 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 22 May 2013 21:31:19 +0200 Subject: [PATCH] Fix priority of Member->getHtmlEditorConfigForCMS() (silverstripe/silverstripe-cms#728) --- security/Member.php | 1 + 1 file changed, 1 insertion(+) diff --git a/security/Member.php b/security/Member.php index 674ed15f2..2912c79fd 100644 --- a/security/Member.php +++ b/security/Member.php @@ -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'); } } }