Adjust player statistics meta box
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin/Meta_Boxes
|
* @package SportsPress/Admin/Meta_Boxes
|
||||||
* @version 1.1.4
|
* @version 1.3.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
@@ -84,6 +84,9 @@ class SP_Meta_Box_Player_Statistics {
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php if ( $league_id ): ?>
|
<?php if ( $league_id ): ?>
|
||||||
|
<?php if ( $div_id == 0 ): ?>
|
||||||
|
<td> </td>
|
||||||
|
<?php else: ?>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
$value = sp_array_value( $leagues, $div_id, '-1' );
|
$value = sp_array_value( $leagues, $div_id, '-1' );
|
||||||
@@ -116,6 +119,7 @@ class SP_Meta_Box_Player_Statistics {
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
<?php foreach ( $columns as $column => $label ): if ( $column == 'team' ) continue;
|
<?php foreach ( $columns as $column => $label ): if ( $column == 'team' ) continue;
|
||||||
?>
|
?>
|
||||||
<td><?php
|
<td><?php
|
||||||
|
|||||||
Reference in New Issue
Block a user