https://issues.shibboleth.net/jira/browse/SSPCPP-543
authorScott Cantor <cantor.2@osu.edu>
Thu, 16 May 2013 18:01:47 +0000 (18:01 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 16 May 2013 18:01:47 +0000 (18:01 +0000)
shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp

index 22589ca..61742ed 100644 (file)
@@ -310,7 +310,7 @@ void MetadataExtractor::doLogo(
     if (request && request->startLangMatching()) {
         do {
             for (vector<Logo*>::const_iterator i = logos.begin(); i != logos.end(); ++i) {
-                if (request->matchLang((*i)->getLang())) {
+                if (!(*i)->getLang() || request->matchLang((*i)->getLang())) {
                     sizediff = 0;
                     if (h > 0) {
                         dim = (*i)->getHeight();