]> git.mjollnir.org Git - moodle.git/commitdiff
questions MDL-20276 Fixed minor issue with URL handling within the paging bar for...
authorsamhemelryk <samhemelryk>
Wed, 16 Sep 2009 02:59:20 +0000 (02:59 +0000)
committersamhemelryk <samhemelryk>
Wed, 16 Sep 2009 02:59:20 +0000 (02:59 +0000)
question/editlib.php

index d03f8175d2f2256bb9bc5a000055354ca9f83585..a69cda3b1ffb4980099d7a8bb3e265a954cc6801 100644 (file)
@@ -803,7 +803,7 @@ class question_bank_view {
 
         // Create the url of the new question page to forward to.
         $this->editquestionurl = new moodle_url("$CFG->wwwroot/question/question.php",
-                array('returnurl' => $pageurl->out()));
+                array('returnurl' => urlencode($pageurl->out(false, array(), false))));
         if ($cm !== null){
             $this->editquestionurl->param('cmid', $cm->id);
         } else {