Update rule group API

This commit is contained in:
James Cole
2018-12-07 07:49:16 +01:00
parent 3e84f9664f
commit b782316cc0
4 changed files with 21 additions and 49 deletions

View File

@@ -296,7 +296,7 @@ class RuleGroupRepository implements RuleGroupRepositoryInterface
'title' => $data['title'],
'description' => $data['description'],
'order' => $order + 1,
'active' => 1,
'active' => $data['active'],
]
);
$newRuleGroup->save();