diff --git a/library/think/cache/Driver.php b/library/think/cache/Driver.php index f1c41fa4..2bdc0d80 100644 --- a/library/think/cache/Driver.php +++ b/library/think/cache/Driver.php @@ -168,7 +168,7 @@ abstract class Driver } else { $value = array_unique(array_merge($this->getTagItem($name), $keys)); } - $this->set($key, implode(',', $value)); + $this->set($key, implode(',', $value), 0); } return $this; } @@ -191,7 +191,7 @@ abstract class Driver } else { $value = $name; } - $this->set($key, $value); + $this->set($key, $value, 0); } }