Code Duplication    Length = 5-5 lines in 2 locations

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]))

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']))