Fixed the search for related transfers.

This commit is contained in:
James Cole 2015-01-31 17:24:26 +01:00
parent 1f5f515d72
commit 4a8b17ac7c

View File

@ -77,7 +77,7 @@ class Related implements RelatedInterface
->get();
$encrypted = $encryptedCollection->filter(
function (\TransactionJournal $journal) use ($query) {
$strPos = strpos($journal->description, $query);
$strPos = strpos(strtolower($journal->description), strtolower($query));
if ($strPos !== false) {
return $journal;
}