Code Duplication    Length = 2-2 lines in 2 locations

Sources/ManageSettings.php 1 location

@@ 1059-1060 (lines=2) @@
1056
							}
1057
1058
							// Does it have predefined restraints? Width first.
1059
							if ($matches[6][$key])
1060
								$matches[2][$key] = $matches[6][$key];
1061
							if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5])
1062
							{
1063
								$width = $sig_limits[5];

Sources/Profile-Modify.php 1 location

@@ 3526-3527 (lines=2) @@
3523
					$width = -1; $height = -1;
3524
3525
					// Does it have predefined restraints? Width first.
3526
					if ($matches[6][$key])
3527
						$matches[2][$key] = $matches[6][$key];
3528
					if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5])
3529
					{
3530
						$width = $sig_limits[5];