From: <sy...@us...> - 2007-02-09 16:33:17
|
Update of /cvsroot/tikiwiki/tiki/lib/trackers In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv29551/lib/trackers Modified Files: trackerlib.php Log Message: [FIX]tracker: if display user field but can not change, the fieldID is reset to 0-> must skip in replace not to scratch last field Index: trackerlib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/trackers/trackerlib.php,v retrieving revision 1.174 retrieving revision 1.175 diff -u -d -r1.174 -r1.175 --- trackerlib.php 9 Feb 2007 04:59:52 -0000 1.174 +++ trackerlib.php 9 Feb 2007 16:33:08 -0000 1.175 @@ -771,6 +771,8 @@ // system type, do nothing } else if ($ins_fields["data"][$i]["type"] != 'u' && $ins_fields["data"][$i]["type"] != 'g' && $ins_fields["data"][$i]["type"] != 'I' && isset($ins_fields['data'][$i]['isHidden']) && ($ins_fields["data"][$i]["isHidden"] == 'p' or $ins_fields["data"][$i]["isHidden"] == 'y')and $tiki_p_admin_trackers != 'y') { // hidden field type require tracker amdin perm + } elseif (empty($ins_fields["data"][$i]["fieldId"])) { + // can have been unset for a user field } else { // ----------------------------- // save image on disk |