mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix bug
This commit is contained in:
parent
94f6fc7050
commit
c15f23f5c8
@ -343,7 +343,7 @@ class AppRequestsController extends AppController
|
|||||||
$decay = true;
|
$decay = true;
|
||||||
$transactions = [];
|
$transactions = [];
|
||||||
$transactions_from_db = $stateUserTransactionsQuery->toArray();
|
$transactions_from_db = $stateUserTransactionsQuery->toArray();
|
||||||
if($stateUserTransactionsQuery->count() > 0) {
|
if(count(transactions_from_db)) {
|
||||||
if($orderDirection == 'DESC') {
|
if($orderDirection == 'DESC') {
|
||||||
$transactions_from_db = array_reverse($transactions_from_db);
|
$transactions_from_db = array_reverse($transactions_from_db);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user