Skip to content

Commit

Permalink
Fix some misplaced parentheses
Browse files Browse the repository at this point in the history
See also: #30
  • Loading branch information
thomas-pike committed Jan 20, 2019
1 parent 5207345 commit 3920033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/serveraccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
foreach($this->get('group_membership') as $group) {
$grouplist[] = '<a href="'.rrurl('/groups/'.urlencode($group->name)).'" class="group">'.hesc($group->name).'</a>';
}
$grouplisttext = english_list($grouplist).' group'.(count($this->get('group_membership') == 1) ? '' : 's');
$grouplisttext = english_list($grouplist).' group'.(count($this->get('group_membership')) == 1 ? '' : 's');
?>
<?php out($grouplisttext, ESC_NONE)?>, the following access rules automatically apply to it:
</p>
Expand Down Expand Up @@ -437,7 +437,7 @@
foreach($this->get('group_membership') as $group) {
$grouplist[] = '<a href="'.rrurl('/groups/'.urlencode($group->name)).'" class="group">'.hesc($group->name).'</a>';
}
$grouplisttext = english_list($grouplist).' group'.(count($this->get('group_membership') == 1) ? '' : 's');
$grouplisttext = english_list($grouplist).' group'.(count($this->get('group_membership')) == 1 ? '' : 's');
?>
<?php out($grouplisttext, ESC_NONE)?>, the following outbound access rules automatically apply to it:
</p>
Expand Down

0 comments on commit 3920033

Please sign in to comment.