Skip to content
Browse files

Merge branch 'wip-mdl-36238-m22' of git://github.com/rajeshtaneja/moo…

…dle into MOODLE_22_STABLE
  • Loading branch information...
2 parents fbef425 + d5b5bec commit 479f5b6e6d60af46f16bc1aaa944378d684a77dd Sam Hemelryk committed Nov 28, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 report/log/index.php
View
5 report/log/index.php
@@ -122,6 +122,11 @@
$stradministration = get_string('administration');
$strreports = get_string('reports');
+// Before we close session, make sure we have editing information in session.
+$adminediting = optional_param('adminedit', -1, PARAM_BOOL);
+if ($PAGE->user_allowed_editing() && $adminediting != -1) {
+ $USER->editing = $adminediting;
+}
session_get_instance()->write_close();
if (!empty($chooselog)) {

0 comments on commit 479f5b6

Please sign in to comment.
Something went wrong with that request. Please try again.