Code Duplication    Length = 5-5 lines in 2 locations

Sources/Profile-Modify.php 1 location

@@ 1514-1518 (lines=5) @@
1511
			foreach ($context['custom_pf'] as $key => $column)
1512
			{
1513
				// Don't show anything if there isn't anything to show.
1514
				if (!isset($context['buddies'][$buddy]['options'][$key]))
1515
				{
1516
					$context['buddies'][$buddy]['options'][$key] = '';
1517
					continue;
1518
				}
1519
1520
				if ($column['bbc'] && !empty($context['buddies'][$buddy]['options'][$key]))
1521
					$context['buddies'][$buddy]['options'][$key] = strip_tags(parse_bbc($context['buddies'][$buddy]['options'][$key]));

Sources/Memberlist.php 1 location

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