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);
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