mirror of
https://github.com/friendica/friendica
synced 2024-11-18 14:23:41 +00:00
Fix order parameter for dba::select
This commit is contained in:
parent
c714ee519f
commit
b0fb398844
1 changed files with 2 additions and 2 deletions
|
@ -312,7 +312,7 @@ class Group extends BaseObject
|
|||
{
|
||||
$o = '';
|
||||
|
||||
$stmt = dba::select('group', [], ['deleted' => 0, 'uid' => $uid], ['order' => ['name' => 'ASC']]);
|
||||
$stmt = dba::select('group', [], ['deleted' => 0, 'uid' => $uid], ['order' => ['name']]);
|
||||
|
||||
$display_groups = [
|
||||
[
|
||||
|
@ -371,7 +371,7 @@ class Group extends BaseObject
|
|||
]
|
||||
];
|
||||
|
||||
$stmt = dba::select('group', [], ['deleted' => 0, 'uid' => local_user()], ['order' => ['name' => 'ASC']]);
|
||||
$stmt = dba::select('group', [], ['deleted' => 0, 'uid' => local_user()], ['order' => ['name']]);
|
||||
|
||||
$member_of = array();
|
||||
if ($cid) {
|
||||
|
|
Loading…
Reference in a new issue