Code Duplication    Length = 2-2 lines in 2 locations

Themes/default/BoardIndex.template.php 1 location

@@ 403-404 (lines=2) @@
400
	$bracketList = array();
401
	if ($context['show_buddies'])
402
		$bracketList[] = comma_format($context['num_buddies']) . ' ' . ($context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies']);
403
	if (!empty($context['num_spiders']))
404
		$bracketList[] = comma_format($context['num_spiders']) . ' ' . ($context['num_spiders'] == 1 ? $txt['spider'] : $txt['spiders']);
405
	if (!empty($context['num_users_hidden']))
406
		$bracketList[] = comma_format($context['num_users_hidden']) . ' ' . ($context['num_spiders'] == 1 ? $txt['hidden'] : $txt['hidden_s']);
407

SSI.php 1 location

@@ 1144-1145 (lines=2) @@
1141
	$bracketList = array();
1142
	if (!empty($user_info['buddies']))
1143
		$bracketList[] = comma_format($return['num_buddies']) . ' ' . ($return['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies']);
1144
	if (!empty($return['num_spiders']))
1145
		$bracketList[] = comma_format($return['num_spiders']) . ' ' . ($return['num_spiders'] == 1 ? $txt['spider'] : $txt['spiders']);
1146
	if (!empty($return['num_users_hidden']))
1147
		$bracketList[] = comma_format($return['num_users_hidden']) . ' ' . $txt['hidden'];
1148