Code Duplication    Length = 2-2 lines in 2 locations

view/SSTemplateParser.php 1 location

@@ 2035-2036 (lines=2) @@
2032
2033
2034
	function CacheBlockArguments_CacheBlockArgument(&$res, $sub) {
2035
		if (!empty($res['php'])) $res['php'] .= ".'_'.";
2036
		else $res['php'] = '';
2037
2038
		$res['php'] .= str_replace('$$FINAL', 'XML_val', $sub['php']);
2039
	}

view/SSTemplateParser.php.inc 1 location

@@ 604-605 (lines=2) @@
601
602
	*/
603
	function CacheBlockArguments_CacheBlockArgument(&$res, $sub) {
604
		if (!empty($res['php'])) $res['php'] .= ".'_'.";
605
		else $res['php'] = '';
606
607
		$res['php'] .= str_replace('$$FINAL', 'XML_val', $sub['php']);
608
	}