aboutsummaryrefslogtreecommitdiffstats
path: root/apps/admin_audit
diff options
context:
space:
mode:
Diffstat (limited to 'apps/admin_audit')
-rw-r--r--apps/admin_audit/lib/Actions/UserManagement.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/admin_audit/lib/Actions/UserManagement.php b/apps/admin_audit/lib/Actions/UserManagement.php
index 1ad6ba4e20f..3511fa5d630 100644
--- a/apps/admin_audit/lib/Actions/UserManagement.php
+++ b/apps/admin_audit/lib/Actions/UserManagement.php
@@ -100,7 +100,9 @@ class UserManagement extends Action {
switch($params['feature']) {
case 'enabled':
$this->log(
- $params['value'] === 'true' ? 'User enabled: "%s"' : 'User disabled: "%s"',
+ $params['value'] === true
+ ? 'User enabled: "%s"'
+ : 'User disabled: "%s"',
['user' => $params['user']->getUID()],
[
'user',