summaryrefslogtreecommitdiff
path: root/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'user.php')
-rw-r--r--user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/user.php b/user.php
index 5a84156..62b9144 100644
--- a/user.php
+++ b/user.php
@@ -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>';
}