Commit 61708bf9 authored by sylvieg's avatar sylvieg

[FIX]tracker: for a group tracker, do not limit only to the default groupbut all the user groups

parent d70f8b27
......@@ -639,7 +639,7 @@ foreach($xfields["data"] as $i=>$array) {
if (isset($tracker_info["authorgroupfield"])) {
$tracker_info['authorgroup'] = $trklib->get_item_value($_REQUEST["trackerId"],$_REQUEST["itemId"],$tracker_info["authorgroupfield"]);
if ($tracker_info['authorgroup'] == $group) {
if (in_array($tracker_info['authorgroup'], $tikilib->get_user_groups($user))) {
$tiki_p_modify_tracker_items = 'y';
$tiki_p_attach_trackers = 'y';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment