Loading...
 
Skip to main content

user info from linked group tracker item gets wrong info for "username" if "usernamemoretext" exists

Status
Closed
Subject
user info from linked group tracker item gets wrong info for "username" if "usernamemoretext" exists
Version
2.x
Category
  • Community projects
  • Consistency
Feature
Trackers
MyTiki
Submitted by
Xavier de Pedro
Lastmod by
Xavi (as xavidp - admin)
Rating
(0)
Description

Using 2.0beta code, afaicr.

There are two different users (from two people) in a site: "Xavi" and "Xavier"

This user (which is me)
http://intercanvis.net/tiki-user_information.php?view_user=Xavi

shows some data from the user "Xavier" (the data from the group tracker, afaik):

Nom: xavier
Cognoms: rocabert argila
Usuari: xavierrocabert
Telèfon: 932372798
Barri / Població: barcelona


As you can see, this information belongs to this other user:
http://intercanvis.net/tiki-user_information.php?view_user=Xavier

Solution

Fixed in 3.0
rev 16215
in tiki-user_information.php
Change

Copy to clipboard
$items = $trklib->list_items($userTrackerId, 0, 1, '', $lll, $trklib->get_field_id_from_type($userTrackerId, 'u', '1%'), $userwatch);

to

Copy to clipboard
$items = $trklib->list_items($userTrackerId, 0, 1, '', $lll, $trklib->get_field_id_from_type($userTrackerId, 'u', '1%'), '', '', '', $userwatch);
Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1902
Created
Sunday 27 July, 2008 12:04:57 UTC
by Unknown
LastModif
Friday 09 January, 2009 16:55:57 UTC


Show PHP error messages