Code Duplication    Length = 2-2 lines in 2 locations

Sources/Subs-Db-postgresql.php 1 location

@@ 490-491 (lines=2) @@
487
488
	$db_last_result = @pg_query($connection, $db_string);
489
490
	if ($db_last_result === false && empty($db_values['db_error_skip']))
491
		$db_last_result = smf_db_error($db_string, $connection);
492
493
	// Debugging.
494
	if (isset($db_show_debug) && $db_show_debug === true)

Sources/Subs-Db-mysql.php 1 location

@@ 506-507 (lines=2) @@
503
	else
504
		$ret = @mysqli_query($connection, $db_string, MYSQLI_USE_RESULT);
505
506
	if ($ret === false && empty($db_values['db_error_skip']))
507
		$ret = smf_db_error($db_string, $connection);
508
509
	// Debugging.
510
	if (isset($db_show_debug) && $db_show_debug === true)