[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] User Information: popover displaying wrong user info

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69cb7dadf342f_3b66a3c0883018@gitlab-sidekiq-low-urgency-cpu-bound-v2-8444b687dc-rgkkv.mail>

luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
ddc3353c by NasserNgandu at 2026-03-31T07:47:15+00:00
[FIX] User Information: popover displaying wrong user info
---
* [FIX] User information: The pop-up window displays "Never connected" for any user other than the user themselves.

See merge request tikiwiki/tiki!9875

- - - - -


1 changed file:

- lib/core/Services/User/Controller.php


Changes:

=====================================
lib/core/Services/User/Controller.php
=====================================
@@ -147,9 +147,7 @@ class Services_User_Controller
         if ($other_user) {
             $result['other_user'] = $other_user;
             if (
-                $this->lib->user_exists($other_user) &&
-                ($user == $other_user ||
-                $prefs['feature_friends'] == 'y')
+                $this->lib->user_exists($other_user) || $prefs['feature_friends'] == 'y'
             ) {
                 $info = $this->lib->get_user_info($other_user);
 



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

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