Skip to content

Commit 3920033

Browse files
committed
Fix some misplaced parentheses
See also: #30
1 parent 5207345 commit 3920033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/serveraccount.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
foreach($this->get('group_membership') as $group) {
253253
$grouplist[] = '<a href="'.rrurl('/groups/'.urlencode($group->name)).'" class="group">'.hesc($group->name).'</a>';
254254
}
255-
$grouplisttext = english_list($grouplist).' group'.(count($this->get('group_membership') == 1) ? '' : 's');
255+
$grouplisttext = english_list($grouplist).' group'.(count($this->get('group_membership')) == 1 ? '' : 's');
256256
?>
257257
<?php out($grouplisttext, ESC_NONE)?>, the following access rules automatically apply to it:
258258
</p>
@@ -437,7 +437,7 @@
437437
foreach($this->get('group_membership') as $group) {
438438
$grouplist[] = '<a href="'.rrurl('/groups/'.urlencode($group->name)).'" class="group">'.hesc($group->name).'</a>';
439439
}
440-
$grouplisttext = english_list($grouplist).' group'.(count($this->get('group_membership') == 1) ? '' : 's');
440+
$grouplisttext = english_list($grouplist).' group'.(count($this->get('group_membership')) == 1 ? '' : 's');
441441
?>
442442
<?php out($grouplisttext, ESC_NONE)?>, the following outbound access rules automatically apply to it:
443443
</p>

0 commit comments

Comments
 (0)