mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-8922: Had to modify another bunch of files to fix a simple problem:
when a config block contains a form, the previous form needs to be closed properly (it was, but there were non-matching closing divs etc...).
This commit is contained in:
parent
7b44777ef7
commit
5db0cffcf6
6 changed files with 14 additions and 10 deletions
|
@ -456,7 +456,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
|
|||
if ($blockobject === false) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
// First of all check to see if the block wants to be edited
|
||||
if(!$blockobject->user_can_edit()) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue