mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Fix and expand tests for #2723
This commit is contained in:
@@ -75,7 +75,7 @@ final class FromAccountStarts extends AbstractTrigger implements TriggerInterfac
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
$source = $repository->getSourceAccount($journal);
|
||||
$search = strtolower($this->triggerValue);
|
||||
$part = substr($source->name, 0, strlen($search));
|
||||
$part = strtolower(substr($source->name, 0, strlen($search)));
|
||||
|
||||
if ($part === $search) {
|
||||
Log::debug(
|
||||
|
||||
Reference in New Issue
Block a user