Strict compare empty string
This commit is contained in:
@@ -162,7 +162,7 @@ $i = 0;
|
|||||||
$value = $position = implode( ', ', $positions );
|
$value = $position = implode( ', ', $positions );
|
||||||
endif;
|
endif;
|
||||||
else:
|
else:
|
||||||
if ( array_key_exists( $key, $row ) && $row[ $key ] != '' ):
|
if ( array_key_exists( $key, $row ) && $row[ $key ] !== '' ):
|
||||||
if ( 'checkbox' === $format ):
|
if ( 'checkbox' === $format ):
|
||||||
$value = '<span class="sp-checkbox">' . $row[ $key ] . '</span>';
|
$value = '<span class="sp-checkbox">' . $row[ $key ] . '</span>';
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user