Skip to content

Commit 7704b70

Browse files
author
Matt Roberts
committed
Updates NULL detection.
As per @schlessera's request.
1 parent f06d9aa commit 7704b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Search_Replace_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ private function write_sql_row_fields( $table, $rows ) {
561561
$subs = array();
562562

563563
foreach( $row_fields as $field_value ) {
564-
if ( is_null($field_value) ) {
564+
if ( null === $field_value ) {
565565
$subs[] = 'NULL';
566566
} else {
567567
$subs[] = '%s';

0 commit comments

Comments
 (0)