Closed (fixed)
Project:
Drupal core
Version:
4.6.0
Component:
user system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2005 at 10:48 UTC
Updated:
5 Sep 2005 at 16:00 UTC
Logout fails because of bug in sess_destroy() that causes the generation of an incorrect query:
db_query("DELETE FROM {sessions} WHERE sid = '%d'", $key);
should be:
db_query("DELETE FROM {sessions} WHERE sid = '%s'", $key);
Comments
Comment #1
Uwe Hermann commentedFixed in HEAD.
Comment #2
(not verified) commentedComment #3
Uwe Hermann commented