Skip to content

Commit

Permalink
Adding vowel accents in groupBy ThingEngineer#920
Browse files Browse the repository at this point in the history
  • Loading branch information
stormwalkerec authored Mar 31, 2024
1 parent a4a93ab commit 385cb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MysqliDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ public function orderBy($orderByField, $orderbyDirection = "DESC", $customFields
*/
public function groupBy($groupByField)
{
$groupByField = preg_replace("/[^-a-z0-9\.\(\),_\* <>=!]+/i", '', $groupByField);
$groupByField = preg_replace("/[^-a-z0-9áéíóú\.\(\),_\* <>=!]+/i", '', $groupByField);

$this->_groupBy[] = $groupByField;
return $this;
Expand Down

0 comments on commit 385cb30

Please sign in to comment.