Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-35374 - Cannot delete blocks off frontpage

  • Loading branch information...
commit 6b43759eff5de266f21f681f1d1a1dae6fb13da2 1 parent 7413ce9
Rex Lorenzo authored September 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/blocklib.php
2  lib/blocklib.php
@@ -1158,7 +1158,7 @@ public function process_url_delete() {
1158 1158
             $PAGE->set_title($blocktitle . ': ' . $strdeletecheck);
1159 1159
             $PAGE->set_heading($site->fullname);
1160 1160
             echo $OUTPUT->header();
1161  
-            $confirmurl = new moodle_url("$deletepage->url?", array('sesskey' => sesskey(), 'bui_deleteid' => $block->instance->id, 'bui_confirm' => 1));
  1161
+            $confirmurl = new moodle_url($deletepage->url, array('sesskey' => sesskey(), 'bui_deleteid' => $block->instance->id, 'bui_confirm' => 1));
1162 1162
             $cancelurl = new moodle_url($deletepage->url);
1163 1163
             $yesbutton = new single_button($confirmurl, get_string('yes'));
1164 1164
             $nobutton = new single_button($cancelurl, get_string('no'));

0 notes on commit 6b43759

Please sign in to comment.
Something went wrong with that request. Please try again.