mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix factory and triggers.
This commit is contained in:
@@ -54,7 +54,7 @@ class FromAccountContains extends AbstractTrigger implements TriggerInterface
|
||||
public function triggered(TransactionJournal $journal)
|
||||
{
|
||||
$fromAccountName = strtolower($journal->source_account->name);
|
||||
$search = strtolower($this->trigger->trigger_value);
|
||||
$search = strtolower($this->triggerValue);
|
||||
$strpos = strpos($fromAccountName, $search);
|
||||
|
||||
if (!($strpos === false)) {
|
||||
|
Reference in New Issue
Block a user