Max F 4 år sedan
förälder
incheckning
2e9ffb26f0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/Database/Sql/WhereQuery.php

+ 1 - 1
src/Database/Sql/WhereQuery.php

@@ -103,7 +103,7 @@ class WhereQuery
 		}
 		
 		$this->groups = $group_by + $this->groups;
-		$this->options['order by'] = $this->groups;
+		$this->options['group by'] = $this->groups;
 
 		return $this;
 	}