diff --git a/mod/data/edit.php b/mod/data/edit.php index 34aef3f2296..c1acdb5cc75 100755 --- a/mod/data/edit.php +++ b/mod/data/edit.php @@ -198,6 +198,7 @@ if ($datarecord = data_submitted() and confirm_sesskey()) { /// Of course, you can't be stopped if you are an editting teacher! =) if (data_atmaxentries($data) and !has_capability('mod/data:manageentries',$context)){ + echo $OUTPUT->header(); echo $OUTPUT->notification(get_string('atmaxentry','data')); echo $OUTPUT->footer(); exit;