Code Duplication    Length = 5-5 lines in 2 locations

acp/paypal_module.php 1 location

@@ 406-410 (lines=5) @@
403
		);
404
405
		$retrun = '';
406
		foreach ($codes as $value => $title)
407
		{
408
			$selected = ($value == $sel) ? ' selected="selected"' : '';
409
			$retrun .= '<option value="' . $value . '"' . $selected . '>' . $title . '</option>';
410
		}
411
		return $retrun;
412
	}
413
}

controller/main.php 1 location

@@ 219-223 (lines=5) @@
216
		);
217
218
		$retrun = '';
219
		foreach ($codes as $value => $title)
220
		{
221
			$selected = ($value == $sel) ? ' selected="selected"' : '';
222
			$retrun .= '<option value="' . $value . '"' . $selected . '>' . $title . '</option>';
223
		}
224
		return $retrun;
225
	}
226
}