- Fixed a typo

4.0.x
Dries Buytaert 2002-01-05 17:01:33 +00:00
parent 075233c24c
commit 8b04230c79
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ function cache_get($key) {
function cache_set($cid, $data, $expire = 0) {
if (db_fetch_object(db_query("SELECT cid FROM cache WHERE cid = '". check_query($cid) ."'"))) {
db_query("UPDATE cache SET data = '". check_query($data) ."' WHERE cic = '". check_query($cid) ."'");
db_query("UPDATE cache SET data = '". check_query($data) ."' WHERE cid = '". check_query($cid) ."'");
}
else {
db_query("INSERT INTO cache (cid, data, expire) VALUES('". check_query($cid) ."', '". check_query($data) ."', '". check_query($expire) ."')");