mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
First part of a large code cleanup commit.
This commit is contained in:
@@ -75,7 +75,7 @@ final class NotesAre extends AbstractTrigger implements TriggerInterface
|
||||
}
|
||||
$search = strtolower($this->triggerValue);
|
||||
|
||||
if ($text === $search && \strlen($text) > 0) {
|
||||
if ($text === $search && '' != $text) {
|
||||
Log::debug(sprintf('RuleTrigger NotesAre for journal #%d: "%s" is "%s", return true.', $journal->id, $text, $search));
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user