mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #3900
This commit is contained in:
parent
6671c6d45c
commit
64370229d8
@ -506,7 +506,7 @@ class RuleRepository implements RuleRepositoryInterface
|
||||
*/
|
||||
public function getStoreRules(): Collection
|
||||
{
|
||||
$collection = $this->user->rules()->with(['ruleGroup', 'ruleTriggers'])->get();
|
||||
$collection = $this->user->rules()->where('active', 1)->with(['ruleGroup', 'ruleTriggers'])->get();
|
||||
$filtered = new Collection;
|
||||
/** @var Rule $rule */
|
||||
foreach ($collection as $rule) {
|
||||
|
Loading…
Reference in New Issue
Block a user