in /include/staff/tickets-inc.php replace:$subject = Format:($subject_field->display( $subject_field->to_php($row) ?: $row) ,40); $threadcount=$row;with this:$subject = Format:($subject_field->display( $subject_field->to_php($row) ?: $row ,40)); $threadcount=$row;