Revert "Merge pull request #275 from kadimi/patch-11"
This reverts commit757c827b82, reversing changes made to22ee0eb2cc.
This commit is contained in:
@@ -89,10 +89,6 @@ class SP_Event extends SP_Custom_Post{
|
|||||||
|
|
||||||
public function performance( $admin = false ) {
|
public function performance( $admin = false ) {
|
||||||
$teams = get_post_meta( $this->ID, 'sp_team', false );
|
$teams = get_post_meta( $this->ID, 'sp_team', false );
|
||||||
if ( 'yes' === get_option( 'sportspress_event_reverse_teams', 'no' ) ) {
|
|
||||||
$teams = array_reverse( $teams, true );
|
|
||||||
}
|
|
||||||
|
|
||||||
$performance = (array)get_post_meta( $this->ID, 'sp_players', true );
|
$performance = (array)get_post_meta( $this->ID, 'sp_players', true );
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
|
|||||||
Reference in New Issue
Block a user