From: <sy...@us...> - 2008-01-30 18:55:33
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14063 Modified Files: Tag: BRANCH-1-10 tiki-view_tracker_item.php Log Message: [FIX]tracker: when looking the user tracker, do not look only in the default group but in the default group and the other groups - otherwise it is hard to manage when user tracker is on registered and more than one group per user Index: tiki-view_tracker_item.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-view_tracker_item.php,v retrieving revision 1.141.2.18 retrieving revision 1.141.2.19 diff -u -d -r1.141.2.18 -r1.141.2.19 --- tiki-view_tracker_item.php 28 Jan 2008 16:51:17 -0000 1.141.2.18 +++ tiki-view_tracker_item.php 30 Jan 2008 18:55:37 -0000 1.141.2.19 @@ -23,7 +23,7 @@ if (!isset($_REQUEST['trackerId']) && $prefs['userTracker'] == 'y' && !isset($_REQUEST['user'])) { if (isset($_REQUEST['view']) and $_REQUEST['view'] == ' user') { - $utid = $userlib->get_usertrackerid($group); + $utid = $userlib->get_tracker_usergroup($group); if($utid['usersTrackerId']) { $_REQUEST['trackerId'] = $utid['usersTrackerId']; $_REQUEST["itemId"] = $trklib->get_item_id($_REQUEST['trackerId'],$utid['usersFieldId'],$user); |