Skip to content

Commit

Permalink
fixed: throw correct exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Nov 24, 2023
1 parent bd64884 commit d7c9464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/default/groups/listing/preset.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

$preset = get_input('preset');
if (empty($preset)) {
throw \Elgg\Exceptions\Http\BadRequestException();
throw new \Elgg\Exceptions\Http\BadRequestException();
}

$options = [];
Expand Down

0 comments on commit d7c9464

Please sign in to comment.