Code Duplication    Length = 4-4 lines in 2 locations

web_interface/astpp/system/libraries/pdf.php 1 location

@@ 21-24 (lines=4) @@
18
	$this->y = $this->tMargin;
19
	$this->FontFamily = '';
20
	// Check page size and orientation
21
	if($orientation=='')
22
		$orientation = $this->DefOrientation;
23
	else
24
		$orientation = strtoupper($orientation[0]);
25
	if($size=='')
26
		$size = $this->DefPageSize;
27
	else

web_interface/astpp/system/libraries/Fpdf.php 1 location

@@ 1176-1179 (lines=4) @@
1173
	$this->y = $this->tMargin;
1174
	$this->FontFamily = '';
1175
	// Check page size and orientation
1176
	if ($orientation == '')
1177
		$orientation = $this->DefOrientation;
1178
	else
1179
		$orientation = strtoupper($orientation[0]);
1180
	if ($size == '')
1181
		$size = $this->DefPageSize;
1182
	else