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

Uwe Hermann’s picture

Status: Active » Fixed

Fixed in HEAD.

Anonymous’s picture

Uwe Hermann’s picture

Version: » 4.6.0
Status: Fixed » Closed (fixed)