Preserve squad number "0" when importing players

This commit is contained in:
Nabil Kadimi
2018-02-21 12:09:07 +00:00
committed by GitHub
parent 87887a38aa
commit 1c3e4c1ce8

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;