summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-07-23 17:12:37 +0000
committerDries Buytaert <dries@buytaert.net>2003-07-23 17:12:37 +0000
commit81ea70d101557e901bcad4bd1eb91385ab1b7096 (patch)
tree0c5cd419395565be4acde198132b86171dc023e3 /includes/common.inc
parent83ae5b5c36605ab3acc8d45e823d9d187602bdf0 (diff)
downloadbrdo-81ea70d101557e901bcad4bd1eb91385ab1b7096.tar.gz
brdo-81ea70d101557e901bcad4bd1eb91385ab1b7096.tar.bz2
- Bugfix: the cache wasn't always cleared properly. Patch by Gerhard.
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index e846f8640..8d97d2ea8 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -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);
}
}