Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 1 location

@@ 51-52 (lines=2) @@
48
		$modSettings = array();
49
		if (!$request)
50
			display_db_error();
51
		while ($row = $smcFunc['db_fetch_row']($request))
52
			$modSettings[$row[0]] = $row[1];
53
		$smcFunc['db_free_result']($request);
54
55
		// Do a few things to protect against missing settings or settings with invalid values...

other/install.php 1 location

@@ 1666-1667 (lines=2) @@
1663
	// Only proceed if we can load the data.
1664
	if ($request)
1665
	{
1666
		while ($row = $smcFunc['db_fetch_row']($request))
1667
			$modSettings[$row[0]] = $row[1];
1668
		$smcFunc['db_free_result']($request);
1669
	}
1670