From a9d1adc71e4823824b7006e9103214abd979184c Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Wed, 22 Feb 2023 20:12:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=9B=91=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/WorkOrder/Reply.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Models/WorkOrder/Reply.php b/app/Models/WorkOrder/Reply.php index 7d0bc02..8242143 100644 --- a/app/Models/WorkOrder/Reply.php +++ b/app/Models/WorkOrder/Reply.php @@ -29,9 +29,8 @@ class Reply extends Model 'ip', ]; - protected static function boot() + protected static function booted() { - parent::boot(); static::creating(function (self $model) { $model->is_pending = false;