diff options
Diffstat (limited to 'include/auth.php')
-rw-r--r-- | include/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php index ec02cd85c..1c430406e 100644 --- a/include/auth.php +++ b/include/auth.php @@ -28,7 +28,7 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p goaway($a->get_baseurl()); } - if(x($_SESSION['visitor_id']) && (! x($_SESSION['uid']))) { + if(x($_SESSION,'visitor_id') && (! x($_SESSION,'uid'))) { $r = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1", intval($_SESSION['visitor_id']) ); |