diff --git a/account.php b/account.php index 8cb05a5..7c08391 100644 --- a/account.php +++ b/account.php @@ -153,7 +153,7 @@ - + + - + - + + + is_admin($conn, $_SESSION["id"])) { + $user_id = $_POST['id']; + } elseif (empty($_POST['id'])) { + $user_id = $_SESSION["id"]; + } else { + ?> - - - + + + + - +