Code Duplication    Length = 5-5 lines in 2 locations

topicsolved.php 2 locations

@@ 280-284 (lines=5) @@
277
		$title = '';
278
		$markup = $this->user->img('icon_solved_' . $type, $alt);
279
280
		if (!empty($alt))
281
		{
282
			$alt = $this->user->lang($alt);
283
			$title = ' title="' . htmlspecialchars($alt, ENT_QUOTES, 'UTF-8') . '"';
284
		}
285
286
		if (!empty($url))
287
		{
@@ 330-334 (lines=5) @@
327
			$classes, $color
328
		);
329
330
		if (!empty($alt))
331
		{
332
			$alt = $this->user->lang($alt);
333
			$title = ' title="' . htmlspecialchars($alt, ENT_QUOTES, 'UTF-8') . '"';
334
		}
335
336
		if (!empty($url))
337
		{