diff options
Diffstat (limited to 'user.php')
-rw-r--r-- | user.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ <?php include_once 'header.php'; include_once 'includes/db_inc.php'; -include_once 'includes/functions_inc.php'; +include_once 'includes/functions_display.php'; ?> <?php @@ -33,7 +33,7 @@ if (!isset($_GET['id'])) { echo 'Member since '. date('M d, Y', strtotime($user['user_date'])); } - if ($_SESSION['user_id'] == $_GET['id']) { + if (isset($_SESSION['user_id']) && $_SESSION['user_id'] == $_GET['id']) { echo '<br><p><a href=change_passw.php>Change Password</a></p>'; } |