This commit is contained in:
James Cole 2017-03-04 13:08:16 +01:00
parent bac5238589
commit 8b4ef4e2da
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -530,6 +530,7 @@ class RuleController extends Controller
];
if (is_array($data['rule-triggers'])) {
foreach ($data['rule-triggers'] as $index => $triggerType) {
$data['rule-trigger-stop'][$index] = $data['rule-trigger-stop'][$index] ?? 0;
$triggers[] = [
'type' => $triggerType,
'value' => $data['rule-trigger-values'][$index],