summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}