Code Duplication    Length = 2-5 lines in 2 locations

Sources/Subs-Admin.php 1 location

@@ 350-351 (lines=2) @@
347
		}
348
349
		// End of the file ... maybe
350
		if (substr(trim($settingsArray[$i]), 0, 2) == '?' . '>')
351
			$end = $i;
352
	}
353
354
	// This should never happen, but apparently it is happening.

other/upgrade.php 1 location

@@ 2365-2369 (lines=5) @@
2362
				}
2363
			}
2364
		}
2365
		if (isset($settingsArray[$i]))
2366
		{
2367
			if (trim(substr($settingsArray[$i], 0, 2)) == '?' . '>')
2368
				$end = $i;
2369
		}
2370
	}
2371
2372
	// Assume end-of-file if the end wasn't found.