- Patch by Thomas: always use db abstraction layer

4.6.x
Dries Buytaert 2005-08-10 20:43:03 +00:00
parent 33646ad917
commit 292e090f62
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,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) {