Skip to content

Commit

Permalink
Update src/Toolkit/Collection.php
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Bestle <lukas@getkirby.com>
  • Loading branch information
distantnative and lukasbestle committed Sep 16, 2023
1 parent fbdccce commit 35d914a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Toolkit/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ public function group($field, bool $caseInsensitive = true)

// ignore upper/lowercase for group names
if ($caseInsensitive === true) {
$value = Str::lower($value);
return Str::lower($value);
}

return (string)$value;
Expand Down

0 comments on commit 35d914a

Please sign in to comment.