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); } }