Code Duplication    Length = 2-2 lines in 2 locations

Sources/Subs-Db-postgresql.php 1 location

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

Sources/Subs-Db-mysql.php 1 location

@@ 478-479 (lines=2) @@
475
	else
476
		$ret = @mysqli_query($connection, $db_string, MYSQLI_USE_RESULT);
477
478
	if ($ret === false && empty($db_values['db_error_skip']))
479
		$ret = smf_db_error($db_string, $connection);
480
481
	// Debugging.
482
	if (isset($db_show_debug) && $db_show_debug === true)