From 81ea70d101557e901bcad4bd1eb91385ab1b7096 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 23 Jul 2003 17:12:37 +0000 Subject: [PATCH] - Bugfix: the cache wasn't always cleared properly. Patch by Gerhard. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/common.inc b/includes/common.inc index e846f864012..8d97d2ea843 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); } }