Merge pull request #9081 from nextcloud/bugfix/9080/groupby_typo

Fix Array to String conversion in QueryBuilder
This commit is contained in:
Roeland Jago Douma 2018-04-05 10:06:25 +02:00 committed by GitHub
commit feef3cbba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,7 @@ class QueryBuilder implements IQueryBuilder {
*/
public function groupBy(...$groupBys) {
if (count($groupBys) === 1 && is_array($groupBys[0])) {
$$groupBys = $groupBys[0];
$groupBys = $groupBys[0];
}
call_user_func_array(