Fix order parameter for dba::select
This commit is contained in:
parent
c714ee519f
commit
b0fb398844
|
@ -312,7 +312,7 @@ class Group extends BaseObject
|
||||||
{
|
{
|
||||||
$o = '';
|
$o = '';
|
||||||
|
|
||||||
$stmt = dba::select('group', [], ['deleted' => 0, 'uid' => $uid], ['order' => ['name' => 'ASC']]);
|
$stmt = dba::select('group', [], ['deleted' => 0, 'uid' => $uid], ['order' => ['name']]);
|
||||||
|
|
||||||
$display_groups = [
|
$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();
|
$member_of = array();
|
||||||
if ($cid) {
|
if ($cid) {
|
||||||
|
|
Loading…
Reference in a new issue