mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
Update community_server/src/Controller/AppRequestsController.php
you are right. Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
parent
851c7cad06
commit
7c63d8b149
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user