Commit 81ea70d1 authored by Dries's avatar Dries

- Bugfix: the cache wasn't always cleared properly.  Patch by Gerhard.
parent 83ae5b5c
......@@ -736,7 +736,7 @@ function cache_clear_all($cid = NULL) {
db_query("DELETE FROM {cache} WHERE expire <> 0");
}
else {
db_query("DELETE FROM {cache} WHERE cid = %d", $cid);
db_query("DELETE FROM {cache} WHERE cid = '%s'", $cid);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment