diff options
Diffstat (limited to 'include/user.inc.php')
-rw-r--r-- | include/user.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/user.inc.php b/include/user.inc.php index 83d86a6c7..b1ec2f879 100644 --- a/include/user.inc.php +++ b/include/user.inc.php @@ -29,9 +29,9 @@ if (isset($_COOKIE[session_name()])) { session_start(); - if (isset($_SESSION['id'])) + if (isset($_SESSION['pwg_uid'])) { - $user['id'] = $_SESSION['id']; + $user['id'] = $_SESSION['pwg_uid']; $user['is_the_guest'] = false; } else |