From f74c5df97b936dc5fb639bfa4674a5ee0b6acb71 Mon Sep 17 00:00:00 2001 From: opengd Date: Thu, 14 Jun 2018 09:14:27 +0200 Subject: [PATCH] Cast status to int on update component command --- 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 525030946bcd..8bb054223cd3 100644 --- a/app/Bus/Commands/Component/UpdateComponentCommand.php +++ b/app/Bus/Commands/Component/UpdateComponentCommand.php @@ -123,7 +123,7 @@ public function __construct(Component $component, $name, $description, $status, $this->component = $component; $this->name = $name; $this->description = $description; - $this->status = $status; + $this->status = (int) $status; $this->link = $link; $this->order = $order; $this->group_id = $group_id;