diff --git a/www/saml2/sp/initSLO.php b/www/saml2/sp/initSLO.php
index 7ded295484608de03857248f0343547547c99be5..15cba55cb4c277b795d358f892879c3b1be55d54 100644
--- a/www/saml2/sp/initSLO.php
+++ b/www/saml2/sp/initSLO.php
@@ -53,8 +53,8 @@ if (isset($session) ) {
 		
 		$et = new SimpleSAML_XHTML_Template($config, 'error.php');
 
-		$et->$data['message'] = 'Some error occured when trying to issue the logout request to the IdP.';	
-		$et->$data['e'] = $exception;
+		$et->data['message'] = 'Some error occured when trying to issue the logout request to the IdP.';
+		$et->data['e'] = $exception;
 		
 		$et->show();