From 47f18928a8ff552dcbfc7e4658ae387d3155c7eb Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Thu, 19 Jan 2012 08:49:52 +0000
Subject: [PATCH] Fix warning when not updating config.php with new language
 list.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3019 44740490-163a-0410-bde0-09ae8108e29a
---
 templates/includes/header.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/includes/header.php b/templates/includes/header.php
index ee24a9257..79d4058b7 100644
--- a/templates/includes/header.php
+++ b/templates/includes/header.php
@@ -188,6 +188,7 @@ if($onLoad !== '') {
 		
 		$textarray = array();
 		foreach ($languages AS $lang => $current) {
+			$lang = strtolower($lang);
 			if ($current) {
 				$textarray[] = $langnames[$lang];
 			} else {
-- 
GitLab