]> git.mjollnir.org Git - moodle.git/commitdiff
Merged notice fix from stable
authormoodler <moodler>
Mon, 5 Mar 2007 05:58:28 +0000 (05:58 +0000)
committermoodler <moodler>
Mon, 5 Mar 2007 05:58:28 +0000 (05:58 +0000)
mod/quiz/view.php

index 82cd59f2805cf8141d1c46c1d5ddb6357a899195..90bff07f52409fa4455c637a4f224997538dd4f4 100644 (file)
         }
 
         notice_yesno('<p>' . get_string('guestsno', 'quiz') . "</p>\n\n</p>" .
-                get_string('liketologin') . '</p>', $loginurl, $_SERVER['HTTP_REFERER']);
+                get_string('liketologin') . '</p>', $loginurl, get_referer(false));
     }
 
     if (has_capability('mod/quiz:attempt', $context)) {