From 8cc8448e188cccbdd4b97a37c46de6958ad6b021 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Mon, 20 Jan 2025 16:52:27 +0000 Subject: [PATCH] Fixed activity type for "denied" organisations --- src/Controller/OrganisationRegistrationController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/OrganisationRegistrationController.php b/src/Controller/OrganisationRegistrationController.php index 3681dcc..c354854 100644 --- a/src/Controller/OrganisationRegistrationController.php +++ b/src/Controller/OrganisationRegistrationController.php @@ -462,7 +462,7 @@ class OrganisationRegistrationController extends SimpleController // Record the event in the activity log $this->ci->userActivityLogger->info("User {$currentUser->user_name} denied the registration request for organisation {$organisation->name}.", [ - 'type' => 'organisation_approved', + 'type' => 'organisation_denied', 'user_id' => $currentUser->id, ]); }); @@ -552,7 +552,7 @@ class OrganisationRegistrationController extends SimpleController // Record the event in the activity log $this->ci->userActivityLogger->info("User {$currentUser->user_name} denied the registration request for organisation {$organisation->name}.", [ - 'type' => 'organisation_approved', + 'type' => 'organisation_denied', 'user_id' => $currentUser->id, ]); });