From 8d346db274db3b40d0652d4c68a8b7b63a502b93 Mon Sep 17 00:00:00 2001 From: Felix Rupp Date: Sat, 17 Aug 2019 15:28:05 +0200 Subject: [PATCH] Fix group name length --- lib/Service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/UserService.php b/lib/Service/UserService.php index b8ac6ad..45082ab 100644 --- a/lib/Service/UserService.php +++ b/lib/Service/UserService.php @@ -415,7 +415,7 @@ public function updateGroups($user, $groups, $protectedGroups = '', $justCreated } # Filter length to max 64 chars - if(strlen($group) > 63) { + if(strlen($group) > 64) { $group = substr($group, 0, 63)."…"; }