Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
blocks: MDL-19946 And another bug fix.
  • Loading branch information
tjhunt committed Jul 29, 2009
1 parent 7bbc289 commit d0f0cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blocklib.php
Expand Up @@ -762,7 +762,7 @@ public function process_url_add() {

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'));
}

Expand Down

0 comments on commit d0f0cab

Please sign in to comment.