Merge pull request #252 from kadimi/patch-9

Preserve squad number "0" when importing players
This commit is contained in:
Brian Miyaji
2018-02-26 14:30:17 +11:00
committed by GitHub

View File

@@ -54,7 +54,7 @@ if ( class_exists( 'WP_Importer' ) ) {
foreach ( $rows as $row ): foreach ( $rows as $row ):
$row = array_filter( $row ); $row = array_filter( $row, 'strlen' );
if ( empty( $row ) ) continue; if ( empty( $row ) ) continue;