Commit df0bb026 authored by Côme Chilliet's avatar Côme Chilliet

Merge branch '5886-support-disabling-specific-password-methods' into '1.4-dev'

Resolve "Support disabling specific password methods"

See merge request fusiondirectory/fd!612
parents 44333126 005f777b
......@@ -167,7 +167,7 @@ class SelectAttribute extends Attribute
$smartyOutputs = $this->choices;
if (!in_array($currentValue, $smartyChoices)) {
if (!empty($currentValue) && !in_array($currentValue, $smartyChoices)) {
$smartyChoices[] = $currentValue;
$smartyOutputs[] = $currentValue;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment