Commit 37e6fb15 authored by Jonny Bradley's avatar Jonny Bradley

[FIX] trackers: Handle other missing params better

parent e04a611a
......@@ -703,6 +703,12 @@ class TrackerLib extends TikiLib
global $prefs;
$cachelib = TikiLib::lib('cache');
if (!$trackerId) {
return array(tr('*** ERROR: Tracker ID not set ***', $fieldId));
}
if (!$fieldId) {
return array(tr('*** ERROR: Field ID not set ***', $fieldId));
}
$jail = '';
$needToCheckCategPerms = $this->need_to_check_categ_perms($allfields);
if ($prefs['feature_categories'] == 'y' && $needToCheckCategPerms) {
......
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