Code Duplication    Length = 2-2 lines in 2 locations

Sources/ManageSettings.php 1 location

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

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];