Fix order parameter for dba::select

This commit is contained in:
Hypolite Petovan 2017-12-10 05:37:23 -05:00
parent c714ee519f
commit b0fb398844

View file

@ -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) {