fixes for new admin blocks

This commit is contained in:
skodak
2006-09-02 23:55:56 +00:00
parent 623942afff
commit 02cc05a708
13 changed files with 57 additions and 40 deletions
+1 -1
View File
@@ -682,7 +682,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
// You can use this to get the blocks to respond to URL actions without much hassle
function blocks_execute_url_action(&$PAGE, &$pageblocks,$pinned=false) {
$blockaction = optional_param('blockaction');
$blockaction = optional_param('blockaction', '', PARAM_ALPHA);
if (empty($blockaction) || !$PAGE->user_allowed_editing() || !confirm_sesskey()) {
return;