Code Duplication    Length = 5-5 lines in 2 locations

Sources/Profile-Modify.php 1 location

@@ 1520-1524 (lines=5) @@
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]));
1522
1523
				elseif ($column['type'] == 'check')
1524
					$context['buddies'][$buddy]['options'][$key] = $context['buddies'][$buddy]['options'][$key] == 0 ? $txt['no'] : $txt['yes'];
1525
1526
				// Enclosing the user input within some other text?
1527
				if (!empty($column['enclose']) && !empty($context['buddies'][$buddy]['options'][$key]))

Sources/Memberlist.php 1 location

@@ 652-656 (lines=5) @@
649
					}
650
				}
651
652
				if ($column['bbc'] && !empty($context['members'][$member]['options'][$key]))
653
					$context['members'][$member]['options'][$key] = strip_tags(parse_bbc($context['members'][$member]['options'][$key]));
654
655
				elseif ($column['type'] == 'check')
656
					$context['members'][$member]['options'][$key] = $context['members'][$member]['options'][$key] == 0 ? $txt['no'] : $txt['yes'];
657
658
				// Enclosing the user input within some other text?
659
				if (!empty($column['enclose']))