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
		{
@@ 331-335 (lines=5) @@
328
			$classes, $color
329
		);
330
331
		if (!empty($alt))
332
		{
333
			$alt = $this->user->lang($alt);
334
			$title = ' title="' . htmlspecialchars($alt, ENT_QUOTES, 'UTF-8') . '"';
335
		}
336
337
		if (!empty($url))
338
		{