forked from Public/pics
Use triple-equals in a few more places
This commit is contained in:
@@ -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('
|
||||
|
||||
Reference in New Issue
Block a user