Skip to content
Snippets Groups Projects
Commit 292e090f authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch by Thomas: always use db abstraction layer

parent 33646ad9
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment