Commit 23b21ef1 authored by haemmer's avatar haemmer

Fixed wrong condition

parent 1239b356
...@@ -137,7 +137,7 @@ function printDropDownList($IDProviders, $selectedIDP = ''){ ...@@ -137,7 +137,7 @@ function printDropDownList($IDProviders, $selectedIDP = ''){
} }
// Add another category unless first (and probably only) category is unknown // Add another category unless first (and probably only) category is unknown
if (!empty($optgroup) && $key != 'unknown'){ if (!empty($optgroup) || $key != 'unknown'){
echo ' echo '
<optgroup label="'.$IdPName.'">'; <optgroup label="'.$IdPName.'">';
$optgroup = $key; $optgroup = $key;
......
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