Allow the mapping of asset accounts for opposing value

This commit is contained in:
James Cole
2018-05-12 20:56:34 +02:00
parent 9c507f7f62
commit 528da3f08e
3 changed files with 4 additions and 5 deletions

View File

@@ -55,7 +55,6 @@ class TransactionFactory
Log::debug('Start of TransactionFactory::create()');
$currencyId = $data['currency_id'] ?? null;
$currencyId = isset($data['currency']) ? $data['currency']->id : $currencyId;
Log::debug('We dont make it here');
if ('' === $data['amount']) {
throw new FireflyException('Amount is an empty string, which Firefly III cannot handle. Apologies.');
}