Commit 7ad79929 by Robert Lyon

Bug 1734197: Check if SAML logo lang is set before getting it's value

behatnotneeded

Change-Id: I96403632112a806849dd0f59940092a55d546106
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent e7191aad
......@@ -325,7 +325,7 @@ function auth_saml_disco_screen($list, $preferred) {
// Fetch logo from provider if given
$logos = $value['UIInfo']['Logo'];
foreach ($logos as $logo) {
if ($logo['lang'] == $lang) {
if (isset($logo['lang']) && $logo['lang'] == $lang) {
$idplogo = $logo;
break;
}
......
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