diff --git a/mod/forum/export.php b/mod/forum/export.php index dc15402470f..e13c9097e63 100644 --- a/mod/forum/export.php +++ b/mod/forum/export.php @@ -114,7 +114,8 @@ if ($form->is_cancelled()) { $humandates = !empty($data->humandates); $fields = ['id', 'discussion', 'parent', 'userid', 'created', 'modified', 'mailed', 'subject', 'message', - 'messageformat', 'messagetrust', 'attachment', 'totalscore', 'mailnow', 'deleted', 'privatereplyto']; + 'messageformat', 'messagetrust', 'attachment', 'totalscore', 'mailnow', 'deleted', 'privatereplyto', + 'wordcount', 'charcount']; $datamapper = $legacydatamapperfactory->get_post_data_mapper(); $exportdata = new ArrayObject($datamapper->to_legacy_objects($posts));