From 55428c88c9c8747b9fce1e61a2eb022cdc1c0928 Mon Sep 17 00:00:00 2001 From: dvcarrot Date: Fri, 10 Feb 2023 19:25:41 +0300 Subject: [PATCH] Update FileTagSet fix condition for job --- src/Cache/FileTagSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cache/FileTagSet.php b/src/Cache/FileTagSet.php index ac566b2..3986b52 100644 --- a/src/Cache/FileTagSet.php +++ b/src/Cache/FileTagSet.php @@ -31,7 +31,7 @@ public function resetTag($name) $oldID = $this->store->get($this->tagKey($name)); - if ($oldID!==false){ + if ($oldID!==false && $oldID!==''){ $job = new FlushTagFromFileCacheJob($oldID, static::$driver); if(!empty($this->store->queue)){ $job->onQueue($this->store->queue);