From 6b40b75ef834fb55f56b8c33b6e6f50a9c734cf4 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Tue, 10 Jun 2025 18:57:40 +0800 Subject: [PATCH] no message --- app/Services/TG/Hook/Mod/Book.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/Services/TG/Hook/Mod/Book.php b/app/Services/TG/Hook/Mod/Book.php index 71a2c144..c6d8b0b8 100644 --- a/app/Services/TG/Hook/Mod/Book.php +++ b/app/Services/TG/Hook/Mod/Book.php @@ -43,10 +43,9 @@ class Book extends Base { $this->aRagOption = json_decode($this->oRag->option, true); } else { $this->aRagOption = []; + $this->aRagOption["fire_show"] = false; } - $this->aRagOption["fire_show"] = false; - } private function _valid($aValid) @@ -1689,7 +1688,6 @@ class Book extends Base { $str .= "\n no:".$row->no; $str .= "\n id:".$row->id; $str .= "\n path:".$row->path; - $str .= "\n fire:".$row->fire; if ($row->fire) { $str .= "\n fire:".$row->fire; @@ -2102,7 +2100,7 @@ class Book extends Base { $sStr .= ":".$this->_RankMap($oRag->rank); } // tomd($this->oRag->option, 1); - if (@$this->aRagOption["fire_show"] == true && $oRag->fire) { + if ($this->aRagOption["fire_show"] == true && $oRag->fire) { $iDayLine = ceil((strtotime($oRag->fire) - time()) / 86400);