Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #2755
James Cole3e40a6cf3dcc
diff --git a/app/TransactionRules/Engine/RuleEngine.php b/app/TransactionRules/Engine/RuleEngine.phpindex e8e0470f7f..b6ef7964b2 100644--- a/app/TransactionRules/Engine/RuleEngine.php+++ b/app/TransactionRules/Engine/RuleEngine.php@@ -229,7 +229,7 @@ class RuleEngine$validTrigger = ('store-journal' === $trigger->trigger_value && self::TRIGGER_STORE === $this->triggerMode)|| ('update-journal' === $trigger->trigger_value && self::TRIGGER_UPDATE === $this->triggerMode);- return $validTrigger && ($this->allRules || in_array($rule->id, $this->rulesToApply, true));+ return $validTrigger && ($this->allRules || in_array($rule->id, $this->rulesToApply, true)) && true === $rule->active;}}