From 0022fda157b60d893d33865666c035bf935d9a9b Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Mon, 31 Mar 2025 16:56:18 -0600 Subject: [PATCH] fdsa --- session/includes/account.php | 2 +- session/includes/functions.php | 2 +- session/includes/nav.php | 2 +- session/includes/video.php | 2 +- session/index.php | 3 --- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/session/includes/account.php b/session/includes/account.php index ae826b3..2ff2e33 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']) { if (isset($_GET['error']) && $_GET['error'] === true) { echo '
diff --git a/session/includes/nav.php b/session/includes/nav.php index 89b34c7..867472d 100755 --- a/session/includes/nav.php +++ b/session/includes/nav.php @@ -12,7 +12,7 @@ echo ' function getLogoutButton() { - if ($_SESSION['new-access'] == true) + if ($_SESSION['new-access']) return ''; } diff --git a/session/includes/video.php b/session/includes/video.php index a569f95..636f8fa 100755 --- a/session/includes/video.php +++ b/session/includes/video.php @@ -1,7 +1,7 @@ YouTube Video'; diff --git a/session/index.php b/session/index.php index 6148be1..48c946c 100755 --- a/session/index.php +++ b/session/index.php @@ -1,8 +1,5 @@