mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Fixed a bug where profiled account names would not get strtolower() and thus match nothing. Thanks to Tweakers.net user "doeners"
This commit is contained in:
@@ -53,7 +53,7 @@ final class FromAccountEnds extends AbstractTrigger implements TriggerInterface
|
||||
*/
|
||||
public function triggered(TransactionJournal $journal)
|
||||
{
|
||||
$name = $journal->source_account_name ?? strtolower(TransactionJournal::sourceAccount($journal)->name);
|
||||
$name = strtolower($journal->source_account_name ?? TransactionJournal::sourceAccount($journal)->name);
|
||||
$nameLength = strlen($name);
|
||||
$search = strtolower($this->triggerValue);
|
||||
$searchLength = strlen($search);
|
||||
|
||||
Reference in New Issue
Block a user