Improved register_globals
This commit is contained in:
parent
0d2043931c
commit
98fa1c3edf
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($id == 4 && $_SESSION['profile']['loggedin'] == 1)
|
if($id == 4 && array_key_exists('loggedin',$_SESSION['profile']) && $_SESSION['profile']['loggedin'] == 1)
|
||||||
{
|
{
|
||||||
header("location: https://".$_SERVER['HTTP_HOST']."/account.php");
|
header("location: https://".$_SERVER['HTTP_HOST']."/account.php");
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Reference in a new issue