diff --git a/base.php b/base.php index a433b64f..839a728e 100644 --- a/base.php +++ b/base.php @@ -2531,7 +2531,7 @@ function clear($key) { function reset($suffix=NULL) { if (!$this->dsn) return TRUE; - $regex='/'.preg_quote($this->prefix.'.','/').'.+'. + $regex='/'.preg_quote($this->prefix.'.','/').'.*'. preg_quote($suffix,'/').'/'; $parts=explode('=',$this->dsn,2); switch ($parts[0]) {