Strict compare empty string

This commit is contained in:
Brian Miyaji
2019-07-15 15:13:21 +10:00
parent 34c54b28fb
commit 5ea82cb06a

View File

@@ -162,7 +162,7 @@ $i = 0;
$value = $position = implode( ', ', $positions );
endif;
else:
if ( array_key_exists( $key, $row ) && $row[ $key ] != '' ):
if ( array_key_exists( $key, $row ) && $row[ $key ] !== '' ):
if ( 'checkbox' === $format ):
$value = '<span class="sp-checkbox">' . $row[ $key ] . '</span>';
else: