Skip to content

Firefly III: a personal finances manager

Fixed bug on description field

Maxco10dc0a2a2a103a
diff --git a/app/Repositories/Rule/RuleRepository.php b/app/Repositories/Rule/RuleRepository.php
index 09e02cbe75..3c19b3aac5 100644
--- a/app/Repositories/Rule/RuleRepository.php
+++ b/app/Repositories/Rule/RuleRepository.php
@@ -289,7 +289,7 @@ class RuleRepository implements RuleRepositoryInterface
$rule->strict = array_key_exists('strict', $data) ? $data['strict'] : false;
$rule->stop_processing = array_key_exists('stop_processing', $data) ? $data['stop_processing'] : false;
$rule->title = $data['title'];
- $rule->description = array_key_exists('stop_processing', $data) ? $data['stop_processing'] : null;
+ $rule->description = $data['description'];
$rule->save();
$rule->refresh();