From eb08648dca3a76ca83d47474882add9d76b3feeb Mon Sep 17 00:00:00 2001 From: James Brooks Date: Tue, 13 Jun 2017 22:34:42 +0100 Subject: [PATCH] Don't cast status to int. Fixes #2563 --- app/Bus/Commands/Component/UpdateComponentCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Bus/Commands/Component/UpdateComponentCommand.php b/app/Bus/Commands/Component/UpdateComponentCommand.php index 6da4e02c..d5b1b01a 100644 --- a/app/Bus/Commands/Component/UpdateComponentCommand.php +++ b/app/Bus/Commands/Component/UpdateComponentCommand.php @@ -123,7 +123,7 @@ final class UpdateComponentCommand $this->component = $component; $this->name = $name; $this->description = $description; - $this->status = (int) $status; + $this->status = $status; $this->link = $link; $this->order = $order; $this->group_id = $group_id;