Skip to content

Commit

Permalink
Merge pull request PrestaShop#37030 from Codencode/fix-37028-Can-t-di…
Browse files Browse the repository at this point in the history
…sable-a-group-shop

Fix: Multistore - Can't disable a group shop
  • Loading branch information
kpodemski authored Oct 21, 2024
2 parents e76b0fd + 6154028 commit 9627479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/AdminShopGroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public function renderForm()
];

$this->fields_value = [
'active' => true,
'active' => $obj->id ? (bool) $obj->active : true,
];

return parent::renderForm();
Expand Down

0 comments on commit 9627479

Please sign in to comment.