Adjust player statistics meta box

This commit is contained in:
Brian Miyaji
2014-09-05 17:41:14 +10:00
parent b50855798d
commit 7c3fc53224

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.1.4
* @version 1.3.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -84,6 +84,9 @@ class SP_Meta_Box_Player_Statistics {
?>
</td>
<?php if ( $league_id ): ?>
<?php if ( $div_id == 0 ): ?>
<td>&nbsp;</td>
<?php else: ?>
<td>
<?php
$value = sp_array_value( $leagues, $div_id, '-1' );
@@ -116,6 +119,7 @@ class SP_Meta_Box_Player_Statistics {
?>
</td>
<?php endif; ?>
<?php endif; ?>
<?php foreach ( $columns as $column => $label ): if ( $column == 'team' ) continue;
?>
<td><?php