Allow the mapping of asset accounts for opposing value

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

No files matched your search

-1
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.');
}