Permalink
Browse files

MDL-27037 wiki : fixed whitespace.

  • Loading branch information...
1 parent 7ba8da8 commit 483f992801a1a1b8e2986baa7d8ca6080e6f14fd @nebgor nebgor committed Nov 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/pagelib.php
View
2 mod/wiki/pagelib.php
@@ -169,7 +169,7 @@ protected function setup_tabs($options = array()) {
$currentgroup = groups_get_activity_group($PAGE->cm);
$manage = has_capability('mod/wiki:managewiki', $PAGE->cm->context);
$edit = has_capability('mod/wiki:editpage', $PAGE->context);
- if (!$manage and !($edit and groups_is_member($currentgroup))) {
+ if (!$manage and !($edit and groups_is_member($currentgroup))) {
unset($this->tabs['edit']);
}
} else {

0 comments on commit 483f992

Please sign in to comment.