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;