From 0a1e9014b93217fa599c4b789f7338361e319a96 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Fri, 31 Oct 2014 04:30:41 +1100 Subject: [PATCH] Fix primary result setting to use in templates --- includes/class-sp-event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-sp-event.php b/includes/class-sp-event.php index 1e35d24c..d5ac7cc1 100644 --- a/includes/class-sp-event.php +++ b/includes/class-sp-event.php @@ -113,7 +113,7 @@ class SP_Event extends SP_Custom_Post{ public function main_results() { // Get main result option - $main_result = get_option( 'sportspress_main_result', null ); + $main_result = get_option( 'sportspress_primary_result', null ); // Get teams from event $teams = get_post_meta( $this->ID, 'sp_team', false );