Commit a41af723 authored by Jonny Bradley's avatar Jonny Bradley

[FIX] trackers: Better fix than r56091 for fields that aren't provided to...

[FIX] trackers: Better fix than r56091 for fields that aren't provided to getData for tracker item objects
parent 690fe750
......@@ -454,7 +454,7 @@ class Tracker_Item
$permName = $field['permName'];
$out[$permName] = $field['value'];
if (isset($input->fields[$permName])) {
if (isset($input->fields) && isset($input->fields[$permName])) {
$out[$permName] = $input->fields->$permName->none();
}
}
......
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