Skip to content

Commit

Permalink
mod/data MDL-24133 - footer called before header
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Jan 9, 2011
1 parent 46f4c39 commit e594fc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/data/edit.php
Expand Up @@ -198,6 +198,7 @@
/// 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;
Expand Down

0 comments on commit e594fc8

Please sign in to comment.