Skip to content

Commit

Permalink
Merge pull request #3071 from opengd/2.4
Browse files Browse the repository at this point in the history
Cast status to int on update component command
  • Loading branch information
jbrooksuk committed Jun 14, 2018
2 parents bc25174 + f74c5df commit aba944b
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 aba944b

Please sign in to comment.