From 2accb3114be85fbc745c75e602c8367cf7da4232 Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Mon, 31 Mar 2025 16:49:39 -0600 Subject: [PATCH] test --- session/includes/account.php | 2 +- session/includes/functions.php | 3 +-- session/includes/nav.php | 11 +++++------ session/includes/video.php | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/session/includes/account.php b/session/includes/account.php index 6724060..ae826b3 100755 --- a/session/includes/account.php +++ b/session/includes/account.php @@ -1,7 +1,7 @@ View Confidential Information'; - if ($_SESSION['new-access'] !== true) { + if ($_SESSION['new-access'] != true) { if (isset($_GET['error']) && $_GET['error'] === true) { echo '
@@ -152,4 +152,3 @@ function update_user_pw($password) '; } } -?> diff --git a/session/includes/nav.php b/session/includes/nav.php index 0ca4de9..89b34c7 100755 --- a/session/includes/nav.php +++ b/session/includes/nav.php @@ -12,13 +12,12 @@ echo ' function getLogoutButton() { - if ($_SESSION['new-access'] === true) - return ''; + if ($_SESSION['new-access'] == true) + return ''; } if (isset($_GET['logout'])) { - $_SESSION['new-access'] = false; - session_destroy(); - header('Location: .'); + $_SESSION['new-access'] = false; + session_destroy(); + header('Location: .'); } -?> diff --git a/session/includes/video.php b/session/includes/video.php index fe62e71..a569f95 100755 --- a/session/includes/video.php +++ b/session/includes/video.php @@ -1,7 +1,7 @@ YouTube Video';