From e07bb2bc8deaa04cc58178eaee855c0370b849b8 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Sun, 12 May 2013 01:20:05 +0200 Subject: [PATCH] error.php: look up 'e' in --- error.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/error.php b/error.php index bdc413e..f651f03 100644 --- a/error.php +++ b/error.php @@ -3,7 +3,7 @@ require("include/top.php"); if(!isset($back)) $back = '/'; -switch($e) +switch($_GET['e']) { case "password": case "Invalid password": @@ -13,7 +13,7 @@ switch($e) $message="Bad username."; break; default: - $message=htmlentities(stripslashes($e)); //"Undefined error."; + $message=htmlentities(stripslashes($_GET['e'])); //"Undefined error."; break; } ?>