Use triple-equals in a few more places

This commit is contained in:
2022-12-25 13:44:54 +01:00
parent 2174e1d08b
commit 49390c372d
8 changed files with 17 additions and 17 deletions

View File

@@ -519,7 +519,7 @@ class Database
$insertRows[] = $this->quote($insertData, array_combine($indexed_columns, $dataRow));
// Determine the method of insertion.
$queryTitle = $method == 'replace' ? 'REPLACE' : ($method == 'ignore' ? 'INSERT IGNORE' : 'INSERT');
$queryTitle = $method === 'replace' ? 'REPLACE' : ($method === 'ignore' ? 'INSERT IGNORE' : 'INSERT');
// Do the insert.
return $this->query('