mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +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