We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f3ff2f commit e8d0c8dCopy full SHA for e8d0c8d
src/DB_Command.php
@@ -558,7 +558,7 @@ public function export( $args, $assoc_args ) {
558
* In case that `--default-character-set` is not given and `DB_CHARSET` is `utf8`,
559
* use `utf8mb4` as a `default-character-set` to ensure emojis are encoded correctly.
560
*/
561
- if ( !isset( $assoc_args['default-character-set'] ) &&
+ if ( ! isset( $assoc_args['default-character-set'] ) &&
562
defined( 'DB_CHARSET' ) && 'utf8' == constant( 'DB_CHARSET' ) ) {
563
$assoc_args['default-character-set'] = 'utf8mb4';
564
}
0 commit comments