From 5c5d51404643b125d537e221898009e25e97a40a Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Wed, 16 Sep 2009 02:59:20 +0000 Subject: [PATCH] questions MDL-20276 Fixed minor issue with URL handling within the paging bar for the question bank --- question/editlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5