Code Duplication    Length = 5-5 lines in 2 locations

Sources/Memberlist.php 1 location

@@ 641-645 (lines=5) @@
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]));
643
644
				elseif ($column['type'] == 'check')
645
					$context['members'][$member]['options'][$key] = $context['members'][$member]['options'][$key] == 0 ? $txt['no'] : $txt['yes'];
646
647
				// Enclosing the user input within some other text?
648
				if (!empty($column['enclose']))

Sources/Profile-Modify.php 1 location

@@ 1502-1506 (lines=5) @@
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]));
1504
1505
				elseif ($column['type'] == 'check')
1506
					$context['buddies'][$buddy]['options'][$key] = $context['buddies'][$buddy]['options'][$key] == 0 ? $txt['no'] : $txt['yes'];
1507
1508
				// Enclosing the user input within some other text?
1509
				if (!empty($column['enclose']) && !empty($context['buddies'][$buddy]['options'][$key]))