Skip to content

Firefly III: a personal finances manager

Fix #6743

James Cole89ab62fff2ef
diff --git a/app/Support/Steam.php b/app/Support/Steam.php
index 45745bdce4..622c445cad 100644
--- a/app/Support/Steam.php
+++ b/app/Support/Steam.php
@@ -108,6 +108,9 @@ class Steam
if(null === $number) {
return '0';
}
+ if('' === trim($number)) {
+ return '0';
+ }
if (str_contains($number, '.')) {
if ($number[0] !== '-') {
return bcadd($number, '0.'.str_repeat('0', $precision).'5', $precision);