Code Duplication    Length = 2-2 lines in 6 locations

Sources/Search.php 3 locations

@@ 2002-2003 (lines=2) @@
1999
	}
2000
	else
2001
	{
2002
		if (!isset($context['icon_sources'][$message['first_icon']]))
2003
			$context['icon_sources'][$message['first_icon']] = 'images_url';
2004
		if (!isset($context['icon_sources'][$message['last_icon']]))
2005
			$context['icon_sources'][$message['last_icon']] = 'images_url';
2006
		if (!isset($context['icon_sources'][$message['icon']]))
@@ 2004-2005 (lines=2) @@
2001
	{
2002
		if (!isset($context['icon_sources'][$message['first_icon']]))
2003
			$context['icon_sources'][$message['first_icon']] = 'images_url';
2004
		if (!isset($context['icon_sources'][$message['last_icon']]))
2005
			$context['icon_sources'][$message['last_icon']] = 'images_url';
2006
		if (!isset($context['icon_sources'][$message['icon']]))
2007
			$context['icon_sources'][$message['icon']] = 'images_url';
2008
	}
@@ 2006-2007 (lines=2) @@
2003
			$context['icon_sources'][$message['first_icon']] = 'images_url';
2004
		if (!isset($context['icon_sources'][$message['last_icon']]))
2005
			$context['icon_sources'][$message['last_icon']] = 'images_url';
2006
		if (!isset($context['icon_sources'][$message['icon']]))
2007
			$context['icon_sources'][$message['icon']] = 'images_url';
2008
	}
2009
2010
	// Do we have quote tag enabled?

Sources/Display.php 1 location

@@ 1533-1534 (lines=2) @@
1530
		if (!isset($context['icon_sources'][$message['icon']]))
1531
			$context['icon_sources'][$message['icon']] = file_exists($settings['theme_dir'] . '/images/post/' . $message['icon'] . '.png') ? 'images_url' : 'default_images_url';
1532
	}
1533
	elseif (!isset($context['icon_sources'][$message['icon']]))
1534
		$context['icon_sources'][$message['icon']] = 'images_url';
1535
1536
	// If you're a lazy bum, you probably didn't give a subject...
1537
	$message['subject'] = $message['subject'] != '' ? $message['subject'] : $txt['no_subject'];

Sources/MessageIndex.php 2 locations

@@ 451-452 (lines=2) @@
448
			}
449
			else
450
			{
451
				if (!isset($context['icon_sources'][$row['first_icon']]))
452
					$context['icon_sources'][$row['first_icon']] = 'images_url';
453
				if (!isset($context['icon_sources'][$row['last_icon']]))
454
					$context['icon_sources'][$row['last_icon']] = 'images_url';
455
			}
@@ 453-454 (lines=2) @@
450
			{
451
				if (!isset($context['icon_sources'][$row['first_icon']]))
452
					$context['icon_sources'][$row['first_icon']] = 'images_url';
453
				if (!isset($context['icon_sources'][$row['last_icon']]))
454
					$context['icon_sources'][$row['last_icon']] = 'images_url';
455
			}
456
457
			if (!empty($board_info['recycle']))