mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-24 04:41:01 +00:00
Auto commit for release 'develop' on 2024-02-22
This commit is contained in:
@@ -142,7 +142,7 @@ class RuleRepository implements RuleRepositoryInterface
|
||||
continue;
|
||||
}
|
||||
$triggerType = $trigger->trigger_type;
|
||||
if(str_starts_with($trigger->trigger_type, '-')) {
|
||||
if (str_starts_with($trigger->trigger_type, '-')) {
|
||||
$triggerType = substr($trigger->trigger_type, 1);
|
||||
}
|
||||
$needsContext = config(sprintf('search.operators.%s.needs_context', $triggerType)) ?? true;
|
||||
@@ -484,7 +484,7 @@ class RuleRepository implements RuleRepositoryInterface
|
||||
'no_external_id',
|
||||
'any_external_id',
|
||||
];
|
||||
if(in_array($type, $needTrue, true)) {
|
||||
if (in_array($type, $needTrue, true)) {
|
||||
$value = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user