Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f4c39
)
mod/data MDL-24133 - footer called before header
author
Dan Poltawski
<dan.poltawski@luns.net.uk>
Sun, 9 Jan 2011 19:29:59 +0000
(19:29 +0000)
committer
Dan Poltawski
<dan.poltawski@luns.net.uk>
Sun, 9 Jan 2011 19:31:25 +0000
(19:31 +0000)
mod/data/edit.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/data/edit.php
b/mod/data/edit.php
index
34aef3f
..
c1acdb5
100755
(executable)
--- 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;