mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update community_server/src/Controller/AppRequestsController.php
make it looking better Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
parent
809e9133ab
commit
2a8fad3a44
@ -316,10 +316,7 @@ class AppRequestsController extends AppController
|
|||||||
if('success' == $gdtEntries['state'] && 'success' == $gdtEntries['data']['state']) {
|
if('success' == $gdtEntries['state'] && 'success' == $gdtEntries['data']['state']) {
|
||||||
$gdtSum = intval($gdtEntries['data']['sum']);
|
$gdtSum = intval($gdtEntries['data']['sum']);
|
||||||
} else {
|
} else {
|
||||||
if($user) {
|
$this->addAdminError('StateBalancesController', 'overview', $gdtEntries, $user['id'] ? $user['id'] : 0);
|
||||||
$this->addAdminError('StateBalancesController', 'overview', $gdtEntries, $user['id']);
|
|
||||||
} else {
|
|
||||||
$this->addAdminError('StateBalancesController', 'overview', $gdtEntries, 0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user