Fix warning in event when no players
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# SportsPress - automated league stats
|
||||
# SportsPress - league management
|
||||
|
||||
Welcome to the SportsPress repository on GitHub. Here you can browse the source, look at open issues and keep track of development.
|
||||
|
||||
|
||||
@@ -90,8 +90,6 @@ foreach( $teams as $key => $team_id ):
|
||||
<<?php echo ( $has_players ? 'tfoot' : 'tbody' ); ?>>
|
||||
<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . '">
|
||||
<?php
|
||||
$number = get_post_meta( $player_id, 'sp_number', true );
|
||||
|
||||
if ( $has_players ):
|
||||
echo '<td class="data-number"> </td>';
|
||||
echo '<td class="data-name">' . SP()->text->string('Total', 'event') . '</td>';
|
||||
|
||||
Reference in New Issue
Block a user