Code Duplication    Length = 5-5 lines in 2 locations

Sources/Memberlist.php 1 location

@@ 637-641 (lines=5) @@
634
					continue;
635
				}
636
637
				if ($column['bbc'] && !empty($context['members'][$member]['options'][$key]))
638
					$context['members'][$member]['options'][$key] = strip_tags(parse_bbc($context['members'][$member]['options'][$key]));
639
640
				elseif ($column['type'] == 'check')
641
					$context['members'][$member]['options'][$key] = $context['members'][$member]['options'][$key] == 0 ? $txt['no'] : $txt['yes'];
642
643
				// Enclosing the user input within some other text?
644
				if (!empty($column['enclose']))

Sources/Profile-Modify.php 1 location

@@ 1484-1488 (lines=5) @@
1481
					continue;
1482
				}
1483
1484
				if ($column['bbc'] && !empty($context['buddies'][$buddy]['options'][$key]))
1485
					$context['buddies'][$buddy]['options'][$key] = strip_tags(parse_bbc($context['buddies'][$buddy]['options'][$key]));
1486
1487
				elseif ($column['type'] == 'check')
1488
					$context['buddies'][$buddy]['options'][$key] = $context['buddies'][$buddy]['options'][$key] == 0 ? $txt['no'] : $txt['yes'];
1489
1490
				// Enclosing the user input within some other text?
1491
				if (!empty($column['enclose']) && !empty($context['buddies'][$buddy]['options'][$key]))