- Patch by Thomas: always use db abstraction layer

4.7.x
Dries Buytaert 2005-08-10 20:42:54 +00:00
parent 5270f7fd88
commit 8c92c8d48b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ function sess_write($key, $value) {
}
function sess_destroy($key) {
db_query("DELETE FROM {sessions} WHERE sid = '$key'");
db_query("DELETE FROM {sessions} WHERE sid = '%s'", $key);
}
function sess_gc($lifetime) {