Code Duplication    Length = 2-2 lines in 2 locations

view/SSTemplateParser.php 1 location

@@ 2047-2048 (lines=2) @@
2044
2045
2046
	function CacheBlockArguments_CacheBlockArgument(&$res, $sub) {
2047
		if (!empty($res['php'])) $res['php'] .= ".'_'.";
2048
		else $res['php'] = '';
2049
		
2050
		$res['php'] .= str_replace('$$FINAL', 'XML_val', $sub['php']);
2051
	}

view/SSTemplateParser.php.inc 1 location

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