Browse Source
Merge pull request #9081 from nextcloud/bugfix/9080/groupby_typo
Fix Array to String conversion in QueryBuilder
pull/9087/head
Roeland Jago Douma
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
lib/private/DB/QueryBuilder/QueryBuilder.php
|
|
|
@ -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( |
|
|
|
|