Keep value as key for frontend labels
This commit is contained in:
@@ -96,7 +96,7 @@ class SP_Player extends SP_Custom_Post {
|
|||||||
$metric = sp_array_value( $metrics, $key, null );
|
$metric = sp_array_value( $metrics, $key, null );
|
||||||
if ( $metric == null )
|
if ( $metric == null )
|
||||||
continue;
|
continue;
|
||||||
$data[ $key ] = sp_array_value( $metrics, $key, ' ' );
|
$data[ $value ] = sp_array_value( $metrics, $key, ' ' );
|
||||||
endforeach;
|
endforeach;
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user