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 DescriptionIs extends AbstractTrigger implements TriggerInterface
|
||||
public function triggered(TransactionJournal $journal)
|
||||
{
|
||||
$description = strtolower($journal->description);
|
||||
$search = strtolower($this->trigger->trigger_value);
|
||||
$search = strtolower($this->triggerValue);
|
||||
|
||||
if ($description == $search) {
|
||||
Log::debug('"' . $description . '" equals "' . $search . '" exactly. Return true.');
|
||||
|
Reference in New Issue
Block a user