Commit a258c13d authored by Jonny Bradley's avatar Jonny Bradley

[FIX] trackers: Prevent WSoD when fields array is not provided (edge case)

parent c6077096
......@@ -447,7 +447,7 @@ class Tracker_Item
public function getData($input = null)
$out = array();
if ($input) {
if ($input && isset($input->fields)) {
$fields = $this->prepareInput($input);
foreach ($fields as $field) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment