Skip to content

Commit

Permalink
Merge pull request #19 from plessbd/fix-xdsamlauth-notices
Browse files Browse the repository at this point in the history
fix notices in xdsamlauth
  • Loading branch information
plessbd authored Jan 13, 2017
2 parents 2ac5ce1 + 48b1248 commit 2c0fe9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/Authentication/SAML/XDSamlAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ public function getLoginLink()
$orgDisplay = "";
$icon = "";
foreach ($idpAuth as $idp) {
if ($idp['OrganizationDisplayName']) {
if (!empty($idp['OrganizationDisplayName'])) {
$orgDisplay = $idp['OrganizationDisplayName'];
}
if ($idp['icon']) {
if (!empty($idp['icon'])) {
$icon = $idp['icon'];
}
}
Expand Down

0 comments on commit 2c0fe9b

Please sign in to comment.