error.php: look up 'e' in

This commit is contained in:
Erik Faye-Lund 2013-05-12 01:20:05 +02:00
parent 1e835bc12f
commit e07bb2bc8d

View File

@ -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;
}
?>