Code Duplication    Length = 2-2 lines in 2 locations

Sources/RepairBoards.php 2 locations

@@ 627-628 (lines=2) @@
624
				$row['myid_last_msg'] = (int) $row['myid_last_msg'];
625
626
				// Not really a problem?
627
				if ($row['id_first_msg'] == $row['myid_first_msg'] && $row['id_last_msg'] == $row['myid_last_msg'] && $row['approved'] == $row['firstmsg_approved'])
628
					return false;
629
630
				$memberStartedID = (int) getMsgMemberID($row['myid_first_msg']);
631
				$memberUpdatedID = (int) getMsgMemberID($row['myid_last_msg']);
@@ 652-653 (lines=2) @@
649
			'message_function' => function ($row) use ($txt, &$context)
650
			{
651
				// A pretend error?
652
				if ($row['id_first_msg'] == $row['myid_first_msg'] && $row['id_last_msg'] == $row['myid_last_msg'] && $row['approved'] == $row['firstmsg_approved'])
653
					return false;
654
655
				if ($row['id_first_msg'] != $row['myid_first_msg'])
656
					$context['repair_errors'][] = sprintf($txt['repair_stats_topics_1'], $row['id_topic'], $row['id_first_msg']);