From b60b05c100fdf9a73bd58c54dc076f831b00474f Mon Sep 17 00:00:00 2001 From: Chaim Date: Wed, 10 Jun 2020 22:38:56 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cache/Mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache/Mysql.php b/src/cache/Mysql.php index d8d7f70..57fe423 100644 --- a/src/cache/Mysql.php +++ b/src/cache/Mysql.php @@ -89,7 +89,7 @@ class Mysql ->order('id desc') ->whereTime('cache_expire', '>', time()) ->find(); - return $cache['cache_value']; + return isset($cache['cache_value']) ? $cache['cache_value'] : ''; } /**