- Bugfix: the cache wasn't always cleared properly. Patch by Gerhard.

4.3.x
Dries Buytaert 2003-07-23 17:12:37 +00:00
parent 83ae5b5c36
commit 81ea70d101
1 changed files with 1 additions and 1 deletions

View File

@ -736,7 +736,7 @@ function cache_clear_all($cid = NULL) {
db_query("DELETE FROM {cache} WHERE expire <> 0"); db_query("DELETE FROM {cache} WHERE expire <> 0");
} }
else { else {
db_query("DELETE FROM {cache} WHERE cid = %d", $cid); db_query("DELETE FROM {cache} WHERE cid = '%s'", $cid);
} }
} }