Code Duplication    Length = 2-2 lines in 2 locations

sources/Subs.php 1 location

@@ 721-722 (lines=2) @@
718
719
	if (defined('SID') && SID != '')
720
		return $scripturl . '/' . strtr($matches[1], '&;=', '//,') . '.html?' . SID . (isset($matches[2]) ? $matches[2] : '');
721
	else
722
		return $scripturl . '/' . strtr($matches[1], '&;=', '//,') . '.html' . (isset($matches[2]) ? $matches[2] : '');
723
}
724
725
/**

sources/QueryString.php 1 location

@@ 310-311 (lines=2) @@
307
308
	if (!isBrowser('possibly_robot') && empty($_COOKIE) && defined('SID') && SID != '')
309
		return '"' . $scripturl . '/' . strtr($matches[1], '&;=', '//,') . '.html?' . SID . (isset($matches[2]) ? $matches[2] : '') . '"';
310
	else
311
		return '"' . $scripturl . '/' . strtr($matches[1], '&;=', '//,') . '.html' . (isset($matches[2]) ? $matches[2] : '') . '"';
312
}
313