Skip to content

Commit 319a62e

Browse files
committed
Use strict comparison
1 parent e8d0c8d commit 319a62e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ public function export( $args, $assoc_args ) {
559559
* use `utf8mb4` as a `default-character-set` to ensure emojis are encoded correctly.
560560
*/
561561
if ( ! isset( $assoc_args['default-character-set'] ) &&
562-
defined( 'DB_CHARSET' ) && 'utf8' == constant( 'DB_CHARSET' ) ) {
562+
defined( 'DB_CHARSET' ) && 'utf8' === constant( 'DB_CHARSET' ) ) {
563563
$assoc_args['default-character-set'] = 'utf8mb4';
564564
}
565565

0 commit comments

Comments
 (0)