Permalink
Browse files

Merge branch 'MDL-35374_23' of git://github.com/rlorenzo/moodle into …

…MOODLE_23_STABLE
  • Loading branch information...
danpoltawski committed Sep 17, 2012
2 parents 7056f36 + 6b43759 commit 8673ce82017386acbc513b543ef5ab34917daff0
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/blocklib.php
View
@@ -1158,7 +1158,7 @@ public function process_url_delete() {
$PAGE->set_title($blocktitle . ': ' . $strdeletecheck);
$PAGE->set_heading($site->fullname);
echo $OUTPUT->header();
- $confirmurl = new moodle_url("$deletepage->url?", array('sesskey' => sesskey(), 'bui_deleteid' => $block->instance->id, 'bui_confirm' => 1));
+ $confirmurl = new moodle_url($deletepage->url, array('sesskey' => sesskey(), 'bui_deleteid' => $block->instance->id, 'bui_confirm' => 1));
$cancelurl = new moodle_url($deletepage->url);
$yesbutton = new single_button($confirmurl, get_string('yes'));
$nobutton = new single_button($cancelurl, get_string('no'));

0 comments on commit 8673ce8

Please sign in to comment.