mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 23:28:20 +00:00
Last code optimization before release.
This commit is contained in:
@@ -74,7 +74,7 @@ final class NotesContain extends AbstractTrigger implements TriggerInterface
|
||||
{
|
||||
$search = strtolower(trim($this->triggerValue));
|
||||
|
||||
if (0 === \strlen($search)) {
|
||||
if ('' === $search) {
|
||||
Log::debug(sprintf('RuleTrigger NotesContain for journal #%d: "%s" is empty, return false.', $journal->id, $search));
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user