diff --git a/profil.php b/profil.php index 4e3cdc1..d9302cf 100755 --- a/profil.php +++ b/profil.php @@ -48,7 +48,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { } // Daten für die Anzeige aus der Session holen $current_username = $_SESSION['username']; -$current_email = $_SESSION['email'] ?? ''; +$current_email = $_SESSION['email']; +$current_role = $_SESSION['role']; require_once 'inc/header.php'; ?> @@ -68,13 +69,17 @@ require_once 'inc/header.php'; ?>