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 @@