Code Duplication    Length = 2-2 lines in 2 locations

Sources/Profile-Modify.php 1 location

@@ 3608-3609 (lines=2) @@
3605
					$width = -1; $height = -1;
3606
3607
					// Does it have predefined restraints? Width first.
3608
					if ($matches[6][$key])
3609
						$matches[2][$key] = $matches[6][$key];
3610
					if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5])
3611
					{
3612
						$width = $sig_limits[5];

Sources/ManageSettings.php 1 location

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