Commit 65e5dfb0 authored by Jonny Bradley's avatar Jonny Bradley

[FIX] trackers: Check object perms in tiki-export_tracker.php (which is still...

[FIX] trackers: Check object perms in tiki-export_tracker.php (which is still used from the trackerfilter plugin) Thanks Geoff
parent 0989b910
......@@ -30,7 +30,7 @@ if ($t = $trklib->get_tracker_options($_REQUEST['trackerId'])) {
$tracker_info = array_merge($tracker_info, $t);
}
$tikilib->get_perm_object($_REQUEST['trackerId'], 'tracker', $tracker_info);
$access->check_permission('tiki_p_export_tracker');
$access->check_permission('tiki_p_export_tracker', tra('Export Tracker'), 'tracker', $_REQUEST['trackerId']);
$smarty->assign_by_ref('trackerId', $_REQUEST['trackerId']);
$smarty->assign_by_ref('tracker_info', $tracker_info);
......
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