Code Duplication    Length = 5-5 lines in 2 locations

Sources/Memberlist.php 1 location

@@ 635-639 (lines=5) @@
632
			foreach ($context['custom_profile_fields']['columns'] as $key => $column)
633
			{
634
				// Don't show anything if there isn't anything to show.
635
				if (!isset($context['members'][$member]['options'][$key]))
636
				{
637
					$context['members'][$member]['options'][$key] = '';
638
					continue;
639
				}
640
641
				if ($column['bbc'] && !empty($context['members'][$member]['options'][$key]))
642
					$context['members'][$member]['options'][$key] = strip_tags(parse_bbc($context['members'][$member]['options'][$key]));

Sources/Profile-Modify.php 1 location

@@ 1496-1500 (lines=5) @@
1493
			foreach ($context['custom_pf'] as $key => $column)
1494
			{
1495
				// Don't show anything if there isn't anything to show.
1496
				if (!isset($context['buddies'][$buddy]['options'][$key]))
1497
				{
1498
					$context['buddies'][$buddy]['options'][$key] = '';
1499
					continue;
1500
				}
1501
1502
				if ($column['bbc'] && !empty($context['buddies'][$buddy]['options'][$key]))
1503
					$context['buddies'][$buddy]['options'][$key] = strip_tags(parse_bbc($context['buddies'][$buddy]['options'][$key]));