mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-03 12:45:20 +00:00
Strict comparisons.
This commit is contained in:
@@ -236,7 +236,7 @@ class RuleRepository implements RuleRepositoryInterface
|
||||
$rule->rule_group_id = $data['rule_group_id'];
|
||||
$rule->order = ($order + 1);
|
||||
$rule->active = 1;
|
||||
$rule->stop_processing = intval($data['stop_processing']) == 1;
|
||||
$rule->stop_processing = intval($data['stop_processing']) === 1;
|
||||
$rule->title = $data['title'];
|
||||
$rule->description = strlen($data['description']) > 0 ? $data['description'] : null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user