[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [FIX] users: Obey the `user_show_realnames` preference for user list

"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a2a9f9ab5e21_382267d074043@gitlab-sidekiq-low-urgency-cpu-bound-v2-77f4b9cc99-4sflv.mail>

Jonny Bradley pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
14866cd2 by Jonny Bradley at 2026-06-11T11:44:25+00:00
[FIX] users: Obey the `user_show_realnames` preference for user list
---
* [FIX] users: Obey the `user_show_realnames` preference for user list, which somehow now doesn't work when `user_show_realnames=n` on switch user in the login module

See merge request tikiwiki/tiki!10487


(cherry picked from commit e01c15a6f9503464e9823b823cfbf945ca2fc19a)

136dc332 [FIX] users: Obey the `user_show_realnames` preference for user list, which...

Co-authored-by: Jonny Bradley <[email protected]>
- - - - -


1 changed file:

- lib/smarty_tiki/FunctionHandler/UserSelector.php


Changes:

=====================================
lib/smarty_tiki/FunctionHandler/UserSelector.php
=====================================
@@ -55,7 +55,7 @@ class UserSelector extends Base
             'user_selector_threshold' => $prefs['user_selector_threshold'],
             'allowNone' => 'y',
             'noneLabel' => 'None',
-            'realnames' => 'y',
+            'realnames' => $prefs['user_show_realnames'],
             'class' => 'form-control',
             'lazyload' => 'false'
         ];



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/14866cd209296df8341e99d149efb2d14b07318f

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/14866cd209296df8341e99d149efb2d14b07318f
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.