From: samhemelryk Date: Wed, 16 Sep 2009 02:59:20 +0000 (+0000) Subject: questions MDL-20276 Fixed minor issue with URL handling within the paging bar for... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5c5d51404643b125d537e221898009e25e97a40a;p=moodle.git questions MDL-20276 Fixed minor issue with URL handling within the paging bar for the question bank --- diff --git a/question/editlib.php b/question/editlib.php index d03f8175d2..a69cda3b1f 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -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 {