forked from ZwiiCMS-Team/ZwiiCMS
10.3.00 bug test variable
This commit is contained in:
parent
9c5642b9b0
commit
a1c2a86d5a
@ -468,7 +468,8 @@ class user extends common {
|
||||
*/
|
||||
public function logout() {
|
||||
// Ne pas effacer l'identifiant mais seulement le mot de passe
|
||||
if ($_COOKIE['ZWII_USER_LONGTIME'] !== 'true' ) {
|
||||
if (array_key_exists('ZWII_USER_LONGTIME',$_COOKIE)
|
||||
AND $_COOKIE['ZWII_USER_LONGTIME'] !== 'true' ) {
|
||||
helper::deleteCookie('ZWII_USER_ID');
|
||||
helper::deleteCookie('ZWII_USER_LONGTIME');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user