diff --git a/templates/default/includes/header.php b/templates/default/includes/header.php
index 31f100b513793575d0494d66129af3a2eea06aee..28fae1199d4a5ab80b44524a437add04e3138b40 100644
--- a/templates/default/includes/header.php
+++ b/templates/default/includes/header.php
@@ -2,7 +2,13 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title><?php echo $data['header']; ?></title>
+<title><?php
+if(array_key_exists('header', $data)) {
+	echo $data['header'];
+} else {
+	echo 'simpleSAMLphp';
+}
+?></title>
 
 <style type="text/css">