Fix factory and triggers.

This commit is contained in:
James Cole
2016-02-17 20:19:44 +01:00
parent 694447e66c
commit 51acc34a80
18 changed files with 24 additions and 21 deletions

View File

@@ -54,7 +54,7 @@ class ToAccountContains 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);
$strpos = strpos($toAccountName, $search);
if (!($strpos === false)) {