diff --git a/src/classes/wishthis/User.php b/src/classes/wishthis/User.php index 3a3312b7..4a6858e6 100644 --- a/src/classes/wishthis/User.php +++ b/src/classes/wishthis/User.php @@ -432,7 +432,7 @@ class User if (isset($_COOKIE[COOKIE_PERSISTENT])) { global $database; - $persistent = $database + $database ->query( 'DELETE FROM `sessions` WHERE `session` = :session;',