Commit 3c43b1a9 authored by haemmer's avatar haemmer
Browse files

Fixed a bug where keywords would not be added to data string due to elseif instead of if

parent c17f9624
......@@ -485,14 +485,15 @@ function getIdPPathInfoHint(){
}
/******************************************************************************/
// Parses the Kerbores realm out of the string and returns it
// Joins localized names and keywords of an IdP to a single string
function composeOptionData($IdPValues){
$data = '';
foreach($IdPValues as $key => $value){
if (is_array($value) && isset($value['Name'])){
$data .= ' '.$value['Name'];
} elseif (is_array($value) && isset($value['Keywords'])) {
}
if (is_array($value) && isset($value['Keywords'])) {
$data .= ' '.$value['Keywords'];
}
}
......
Supports Markdown
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