diff --git a/include/class.export.php b/include/class.export.php index dccb3880024953801fa922ff7f150ee328b008a0..67da6d5e463d968072e577c71fd3cd7e02ba6df6 100644 --- a/include/class.export.php +++ b/include/class.export.php @@ -43,7 +43,16 @@ class Export { 'dept_name' => 'Department', 'helptopic' => 'Help Topic', 'source' => 'Source', - 'status' => 'Current Status' + 'status' => 'Current Status', + 'effective_date' => 'Last Updated', + 'duedate' => 'Due Date', + 'isoverdue' => 'Overdue', + 'isanswered' => 'Answered', + 'assigned' => 'Assigned To', + 'staff' => 'Staff Assigned', + 'team' => 'Team Assigned', + 'thread_count' => 'Thread Count', + 'attachments' => 'Attachment Count', ), $how); } @@ -73,7 +82,7 @@ class ResultSetExporter { $this->keys = array(); $this->lookups = array(); foreach ($headers as $field=>$name) { - if (isset($row[$field])) { + if (array_key_exists($field, $row)) { $this->headers[] = $name; $this->keys[] = $field; # Remember the location of this header in the query results