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

"Baraka Kinywa \(@bkinywa24\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69cd7ab812430_3b190474744e6@gitlab-sidekiq-low-urgency-cpu-bound-v2-5d96b4fb97-g4km8.mail>

Baraka Kinywa pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
776e7e53 by Espoir Baraka at 2026-04-01T22:58:43+03:00
[FIX] User Information: popover displaying wrong user info
---
* [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

(cherry picked from commit ddc3353ccc20a28dac5a40761a3ed7bcf07e475d)

See merge request tikiwiki/tiki!9906

- - - - -


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/776e7e53fc273f9fcb93edd1f75b9718b460614a

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