1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13713] Fix ORDER_BY in queries

PHPBB3-13713
This commit is contained in:
lavigor
2018-08-03 06:43:27 +03:00
committed by Marc Alexander
parent a8cb12e455
commit 5651c7f3ff
3 changed files with 3 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ class usergroup extends base_group
]
],
'WHERE' => 'ug.user_pending = 0 AND ug.user_id = ' . (int) $this->user->data['user_id'],
'ORDER_BY' => 'g.group_name',
]);
return $query;
}