Code Duplication    Length = 2-2 lines in 2 locations

Sources/Display.php 1 location

@@ 62-63 (lines=2) @@
59
				$context['robot_no_index'] = true;
60
		}
61
62
	if (!empty($_REQUEST['start']) && (!is_numeric($_REQUEST['start']) || $_REQUEST['start'] % $context['messages_per_page'] != 0))
63
		$context['robot_no_index'] = true;
64
65
	// Find the previous or next topic.  Make a fuss if there are no more.
66
	if (isset($_REQUEST['prev_next']) && ($_REQUEST['prev_next'] == 'prev' || $_REQUEST['prev_next'] == 'next'))

Sources/MessageIndex.php 1 location

@@ 80-81 (lines=2) @@
77
				$context['robot_no_index'] = true;
78
		}
79
	}
80
	if (!empty($_REQUEST['start']) && (!is_numeric($_REQUEST['start']) || $_REQUEST['start'] % $context['messages_per_page'] != 0))
81
		$context['robot_no_index'] = true;
82
83
	// If we can view unapproved messages and there are some build up a list.
84
	if (allowedTo('approve_posts') && ($board_info['unapproved_topics'] || $board_info['unapproved_posts']))