From 47b7715c50c9583df4ce621a9af03b879475fbc6 Mon Sep 17 00:00:00 2001 From: oweissbarth Date: Sun, 16 Mar 2014 19:00:52 +0100 Subject: fixed constants error --- www/login.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'www/login.php') diff --git a/www/login.php b/www/login.php index a9f6f70..4d7ed6b 100755 --- a/www/login.php +++ b/www/login.php @@ -22,7 +22,8 @@ function print_login($case){ include("static/header.html"); $username = isset($_POST['username']) ? $_POST['username'] : ""; - + $message = ""; + switch($case){ case(LOGIN_PASSWORD): $message = '

Invalid username or password

@@ -42,7 +43,7 @@ function print_login($case){

Log in

' - .isset($message)? $message : "". + .$message. '
-- cgit v1.2.3