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

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