blocks: MDL-19946 And another bug fix.
This commit is contained in:
+1
-1
@@ -762,7 +762,7 @@ class block_manager {
|
||||
|
||||
confirm_sesskey();
|
||||
|
||||
if (!$page->user_is_editing() && !$this->page->user_can_edit_blocks()) {
|
||||
if (!$this->page->user_is_editing() && !$this->page->user_can_edit_blocks()) {
|
||||
throw new moodle_exception('nopermissions', '', $this->page->url->out(), get_string('addblock'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user