Fix Array to String conversion in QueryBuilder

Fixes #9080

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-04-05 09:08:32 +02:00
parent 3e390a3451
commit ab04f3cb19
No known key found for this signature in database
GPG key ID: F941078878347C0C

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(