Apply outcome condition to presets

This commit is contained in:
Brian Miyaji
2014-12-10 10:28:47 +11:00
parent 96bd9ec739
commit ad8b55f82e
2 changed files with 1 additions and 1 deletions

View File

@@ -122,6 +122,7 @@ class SP_Admin_Sports {
if ( empty( $post ) ) continue;
$id = self::insert_preset_post( $post, $index );
update_post_meta( $id, 'sp_abbreviation', sp_array_value( $outcome, 'abbreviation', null ) );
update_post_meta( $id, 'sp_condition', sp_array_value( $outcome, 'condition', null ) );
}
// Results