From ac7507dbe76e50b68756cd542867244d52e58605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 22 Jan 2025 15:32:45 +0100 Subject: [PATCH] =?UTF-8?q?Liste=20des=20users=20par=20nom=20et=20pr=C3=A9?= =?UTF-8?q?nom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/user/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index 5f587e52..f75937e5 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -525,7 +525,7 @@ class user extends common // Formatage de la liste self::$users[] = [ $userId, - $this->getData(['user', $userId, 'firstname']) . ' ' . $userLastNames, + sprintf('%s %s',$userLastNames, $this->getData(['user', $userId, 'firstname'])), helper::translate(self::$groups[(int) $this->getData(['user', $userId, 'group'])]), empty($this->getData(['profil', $this->getData(['user', $userId, 'group']), $this->getData(['user', $userId, 'profil']), 'name'])) ? helper::translate(self::$groups[(int) $this->getData(['user', $userId, 'group'])])