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

@@ 1597-1598 (lines=2) @@
1594
	// Only proceed if we can load the data.
1595
	if ($request)
1596
	{
1597
		while ($row = $smcFunc['db_fetch_row']($request))
1598
			$modSettings[$row[0]] = $row[1];
1599
		$smcFunc['db_free_result']($request);
1600
	}
1601