mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 03:43:07 +00:00
Cast to string.
This commit is contained in:
@@ -536,7 +536,7 @@ trait TransactionValidation
|
||||
if ('' === $transaction['foreign_amount']) {
|
||||
return false;
|
||||
}
|
||||
if (0 === bccomp('0', $transaction['foreign_amount'])) {
|
||||
if (0 === bccomp('0', (string) $transaction['foreign_amount'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user