Calculate wins in league table

This commit is contained in:
Takumi
2013-08-03 01:45:35 +10:00
parent 54d31c7023
commit 5ffb31e415
2 changed files with 5 additions and 7 deletions

View File

@@ -76,8 +76,6 @@ function sp_event_stats_meta( $post ) {
$limit = get_option( 'sp_event_team_count' );
$teams = array_pad( array_slice( (array)get_post_meta( $post->ID, 'sp_team', false ), 0, $limit ), $limit, 0 );
$stats = (array)get_post_meta( $post->ID, 'sp_stats', true );
$result = (array)get_post_meta( $post->ID, 'sp_result', false );
print_r( $result );
// Teams
foreach ( $teams as $key => $value ):