mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
More debugging
This commit is contained in:
parent
47f1da80d0
commit
bdece65d72
@ -6,7 +6,7 @@
|
||||
require("lib.php");
|
||||
|
||||
if (isset($cancel)) {
|
||||
if ($SESSION->returnpage) {
|
||||
if (!empty($SESSION->returnpage)) {
|
||||
$return = $SESSION->returnpage;
|
||||
unset($SESSION->returnpage);
|
||||
save_session("SESSION");
|
||||
@ -91,7 +91,7 @@
|
||||
error("Could not cache module information!");
|
||||
}
|
||||
|
||||
if ($SESSION->returnpage) {
|
||||
if (!empty($SESSION->returnpage)) {
|
||||
$return = $SESSION->returnpage;
|
||||
unset($SESSION->returnpage);
|
||||
save_session("SESSION");
|
||||
|
Loading…
x
Reference in New Issue
Block a user