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';