Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-27037 wiki : fixed whitespace.

  • Loading branch information...
commit 5c04356ed4885449b7acac03a0e0fe690d7b3c93 1 parent cdc502c
@nebgor nebgor authored
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 {
Please sign in to comment.
Something went wrong with that request. Please try again.