Formatting and spelling

This commit is contained in:
Justin Foell
2019-10-05 22:04:01 -05:00
parent 5bf4dad1e4
commit c1c1febbce
5 changed files with 22 additions and 19 deletions
+2 -1
View File
@@ -580,8 +580,9 @@ class WPStrava_Settings {
public function save_info( $id, $secret, $info ) {
$infos = get_option( 'strava_info', array() );
$infos = array_filter( $infos, array( $this, 'filter_by_id' ), ARRAY_FILTER_USE_KEY ); // Remove old IDs.
$info->client_secret = $secret;
$infos[ $id ] = $info;
$infos[ $id ] = $info;
update_option( 'strava_info', $infos );
}