mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 02:38:09 +00:00
🤖 Auto commit for release 'develop' on 2025-10-10
This commit is contained in:
@@ -81,12 +81,12 @@ class ReconcileController extends Controller
|
||||
if (!$start instanceof Carbon && !$end instanceof Carbon) {
|
||||
throw new FireflyException('Invalid dates submitted.');
|
||||
}
|
||||
if(!is_numeric($startBalance)) {
|
||||
if (!is_numeric($startBalance)) {
|
||||
$startBalance = '0';
|
||||
}
|
||||
if(!is_numeric($endBalance)) {
|
||||
if (!is_numeric($endBalance)) {
|
||||
$endBalance = '0';
|
||||
}
|
||||
}
|
||||
if ($end->lt($start)) {
|
||||
[$start, $end] = [$end, $start];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user