From 669a77ffeeb9decdfe066964da53872940392135 Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Sat, 4 Apr 2009 21:14:35 +0000 Subject: [PATCH] logout fix git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@447 c66351dc-e62f-0410-b875-e3a5c0b9693f --- src/messenger/webim/libs/operator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/messenger/webim/libs/operator.php b/src/messenger/webim/libs/operator.php index ca18637e..540da5ee 100644 --- a/src/messenger/webim/libs/operator.php +++ b/src/messenger/webim/libs/operator.php @@ -187,8 +187,8 @@ function login_operator($operator,$remember) { function logout_operator() { global $webimroot; - $_SESSION['operator'] = NULL; - $_SESSION['backpath'] = NULL; + unset($_SESSION['operator']); + unset($_SESSION['backpath']); if( isset($_COOKIE['webim_lite']) ) { setcookie('webim_lite', '', time() - 3600, "$webimroot/"); }