summaryrefslogtreecommitdiff
path: root/www/functions
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions')
-rwxr-xr-xwww/functions/func_login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/functions/func_login.php b/www/functions/func_login.php
index 1cdd39d..86caf40 100755
--- a/www/functions/func_login.php
+++ b/www/functions/func_login.php
@@ -45,7 +45,7 @@ function login($db){
return false;
}
} else {
- if($_SESSION["login"]){
+ if(isset($_SESSION["login"])){
header("Refresh: 0; /");
return false;
}