blocks: MDL-19946 And another bug fix.

This commit is contained in:
tjhunt
2009-07-29 03:21:07 +00:00
parent 7bbc2890f7
commit d0f0cab776
+1 -1
View File
@@ -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'));
}