Code Duplication    Length = 2-2 lines in 2 locations

Sources/ManageSettings.php 1 location

@@ 1053-1054 (lines=2) @@
1050
							}
1051
1052
							// Does it have predefined restraints? Width first.
1053
							if ($matches[6][$key])
1054
								$matches[2][$key] = $matches[6][$key];
1055
							if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5])
1056
							{
1057
								$width = $sig_limits[5];

Sources/Profile-Modify.php 1 location

@@ 3501-3502 (lines=2) @@
3498
					$width = -1; $height = -1;
3499
3500
					// Does it have predefined restraints? Width first.
3501
					if ($matches[6][$key])
3502
						$matches[2][$key] = $matches[6][$key];
3503
					if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5])
3504
					{
3505
						$width = $sig_limits[5];