Merged notice fix

This commit is contained in:
moodler 2008-03-03 05:28:56 +00:00
parent 5d9d5227ad
commit 61a482fdb4

View File

@ -43,7 +43,7 @@
/// changed during this session or something
if (has_capability('moodle/course:view', $context) and !has_capability('moodle/legacy:guest', $context, NULL, false)) {
if ($SESSION->wantsurl) {
if (!empty($SESSION->wantsurl)) {
$destination = $SESSION->wantsurl;
unset($SESSION->wantsurl);
} else {