diff --git a/mod/data/lib.php b/mod/data/lib.php
index 2a734508b4e..f6be4910321 100755
--- a/mod/data/lib.php
+++ b/mod/data/lib.php
@@ -1115,10 +1115,8 @@ function data_print_comment($data, $commentid) {
// Print whole message
echo format_text($comment->content);
-
/// Commands
- /// Hack for allow to edit news posts those are not displayed yet until they are displayed
echo '
';
if (data_isowner($comment->recordid) or isteacher($course->id)) {
echo '
'.$stredit.'';
diff --git a/mod/data/report.php b/mod/data/report.php
index e37c1312f67..e381c46a0d1 100755
--- a/mod/data/report.php
+++ b/mod/data/report.php
@@ -29,7 +29,7 @@
$strrating = get_string("rating", "data");
$strname = get_string("name");
- print_header("$strratings: ".format_string($post->subject));
+ print_header($strratings);
if (!$ratings = data_get_ratings($record->id, $sort)) {
error("No ratings for this record!");