Commit 5baa9b69 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

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

parents f33fe8d9 7ad79929
......@@ -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