From d7c946429b8725c40d903654a453206ea7b57961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jer=C3=B4me=20Bakker?= Date: Fri, 24 Nov 2023 14:44:22 +0100 Subject: [PATCH] fixed: throw correct exception --- views/default/groups/listing/preset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default/groups/listing/preset.php b/views/default/groups/listing/preset.php index ed476b5..b5b2954 100644 --- a/views/default/groups/listing/preset.php +++ b/views/default/groups/listing/preset.php @@ -10,7 +10,7 @@ $preset = get_input('preset'); if (empty($preset)) { - throw \Elgg\Exceptions\Http\BadRequestException(); + throw new \Elgg\Exceptions\Http\BadRequestException(); } $options = [];