questions MDL-20276 Fixed minor issue with URL handling within the paging bar for the question bank

This commit is contained in:
samhemelryk
2009-09-16 02:59:20 +00:00
parent b0f4e4e442
commit 5c5d514046
+1 -1
View 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 {