minor fixes

This commit is contained in:
2022-06-08 11:38:45 +02:00
parent faed871b19
commit f3cb6ad436
3 changed files with 3 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ function check_login($con) {
if(check_user_id($con, $id)) {
return get_user_data_id($con, $id);
} else {
unset($_SESSION['user_id']);
header("Location: login.php");
die;
}