Skip to content
Snippets Groups Projects
Commit 35867f76 authored by Olav Morken's avatar Olav Morken
Browse files

SAMLBuilder: Fix bug when adding service description.

The bug was introduced in r1948.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1966 44740490-163a-0410-bde0-09ae8108e29a
parent 1b794914
No related branches found
No related tags found
No related merge requests found
......@@ -351,7 +351,7 @@ class SimpleSAML_Metadata_SAMLBuilder {
}
$description = $metadata->getArrayizeString('description', array());
foreach($metadata['description'] AS $lang => $localname) {
foreach ($description as $lang => $localname) {
if ($lang === 0) {
/* We use 'en' as the default language. */
$lang = 'en';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment