mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Fix factory and triggers.
This commit is contained in:
@@ -54,7 +54,7 @@ class ToAccountIs extends AbstractTrigger implements TriggerInterface
|
||||
public function triggered(TransactionJournal $journal)
|
||||
{
|
||||
$toAccountName = strtolower($journal->destination_account->name);
|
||||
$search = strtolower($this->trigger->trigger_value);
|
||||
$search = strtolower($this->triggerValue);
|
||||
|
||||
if ($toAccountName == $search) {
|
||||
Log::debug('"' . $toAccountName . '" equals "' . $search . '" exactly. Return true.');
|
||||
|
||||
Reference in New Issue
Block a user