Code Duplication    Length = 2-2 lines in 2 locations

Sources/ViewQuery.php 1 location

@@ 127-128 (lines=2) @@
124
				', nl2br(str_replace("\t", '   ', $smcFunc['htmlspecialchars']($query_data['q']))), '
125
			</a><br>';
126
127
		if (!empty($query_data['f']) && !empty($query_data['l']))
128
			echo sprintf($txt['debug_query_in_line'], $query_data['f'], $query_data['l']);
129
130
		if (isset($query_data['s'], $query_data['t']) && isset($txt['debug_query_which_took_at']))
131
			echo sprintf($txt['debug_query_which_took_at'], round($query_data['t'], 8), round($query_data['s'], 8));

Sources/Logging.php 1 location

@@ 334-335 (lines=2) @@
331
			echo '
332
	<strong>', $is_select ? '<a href="' . $scripturl . '?action=viewquery;qq=' . ($q + 1) . '#qq' . $q . '" target="_blank" class="new_win" style="text-decoration: none;">' : '', nl2br(str_replace("\t", '&nbsp;&nbsp;&nbsp;', $smcFunc['htmlspecialchars'](ltrim($qq['q'], "\n\r")))) . ($is_select ? '</a></strong>' : '</strong>') . '<br>
333
	&nbsp;&nbsp;&nbsp;';
334
			if (!empty($qq['f']) && !empty($qq['l']))
335
				echo sprintf($txt['debug_query_in_line'], $qq['f'], $qq['l']);
336
337
			if (isset($qq['s'], $qq['t']) && isset($txt['debug_query_which_took_at']))
338
				echo sprintf($txt['debug_query_which_took_at'], round($qq['t'], 8), round($qq['s'], 8)) . '<br>';