Skip to content

Commit

Permalink
Cast status to int on update component command
Browse files Browse the repository at this point in the history
  • Loading branch information
opengd committed Jun 14, 2018
1 parent bc25174 commit f74c5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Bus/Commands/Component/UpdateComponentCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f74c5df

Please sign in to comment.