Skip to content

Commit

Permalink
community MDL-23170 fix user_can_edit
Browse files Browse the repository at this point in the history
  • Loading branch information
mouneyrac committed Jul 9, 2010
1 parent 9358f71 commit 029a311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/community/block_community.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function user_can_edit() {
if (!has_capability('moodle/community:add', get_context_instance(CONTEXT_SYSTEM))) { // Should be page context?
return false;
}
parent::user_can_edit();
return parent::user_can_edit();
}

function get_content() {
Expand Down

0 comments on commit 029a311

Please sign in to comment.