From 7c63d8b1495ff11117c420a314c89643513cce47 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Thu, 6 May 2021 12:02:22 +0200 Subject: [PATCH] Update community_server/src/Controller/AppRequestsController.php you are right. Co-authored-by: Ulf Gebhardt --- community_server/src/Controller/AppRequestsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/community_server/src/Controller/AppRequestsController.php b/community_server/src/Controller/AppRequestsController.php index 3b1ea85c2..1993e3559 100644 --- a/community_server/src/Controller/AppRequestsController.php +++ b/community_server/src/Controller/AppRequestsController.php @@ -356,8 +356,8 @@ class AppRequestsController extends AppController $body['decay_date'] = $now; if(!$state_balance) { - $body['balance'] = 0; - $body['decay'] = 0; + $body['balance'] = 0.0; + $body['decay'] = 0.0; } else { $body['balance'] = $state_balance->amount; $body['decay'] = $state_balance->partDecay($now);