From 89f0eb1fc36619db31bd170b49508d2bf84b903d Mon Sep 17 00:00:00 2001 From: curiosity Date: Tue, 31 Oct 2023 20:02:49 +0100 Subject: [PATCH] fix activation message using wrong counter variable --- classes/task/archive_user_task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/task/archive_user_task.php b/classes/task/archive_user_task.php index 8180c48..ba7c986 100644 --- a/classes/task/archive_user_task.php +++ b/classes/task/archive_user_task.php @@ -83,7 +83,7 @@ public function execute() { $result = $this->change_user_deprovisionstatus($reactivatearray, 'reactivate'); $unabletoactivate = $result['failures']; - $useractivated = $suspendresult['countersuccess']; + $useractivated = $result['countersuccess']; $deleteresult = $this->change_user_deprovisionstatus($arraytodelete, 'delete'); $unabletodelete = $deleteresult['failures'];