Preserve squad number "0" when importing players
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user