[TikiWiki-commits] [Git][tikiwiki/tiki][master] [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 <6a2a9416ed78d_38195d20390c@gitlab-sidekiq-low-urgency-cpu-bound-v2-77f4b9cc99-g58xl.mail>

Jonny Bradley pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
e01c15a6 by Jonny Bradley at 2026-06-11T10:37:18+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

- - - - -


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',
             'noneSelectable' => 'y',



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/e01c15a6f9503464e9823b823cfbf945ca2fc19a
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.