Permalink
Browse files

mod/data MDL-24133 - footer called before header

  • Loading branch information...
1 parent 46f4c39 commit e594fc8d1366735ee12211869ff069c7719bf241 @danpoltawski danpoltawski committed Jan 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/data/edit.php
View
@@ -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;

0 comments on commit e594fc8

Please sign in to comment.