| @@ -32,9 +32,8 @@ | ||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | // Add support as a feature. |
| 35 | 35 | if ( ! empty( $plan->support_email ) || |
| 36 | - ! empty( $plan->support_skype ) || | |
| 37 | 36 | ! empty( $plan->support_phone ) || |
| 38 | 37 | true === $plan->is_success_manager |
| 39 | 38 | ) { |
| 40 | 39 | if ( ! isset( $features_plan_map['support'] ) ) { |
| @@ -42,9 +41,9 @@ | ||
| 42 | 41 | $support_feature->id = 'support'; |
| 43 | 42 | $support_feature->title = fs_text_inline( 'Support', $plugin->slug ); |
| 44 | 43 | $features_plan_map[ $support_feature->id ] = array( 'feature' => $support_feature, 'plans' => array() ); |
| 45 | 44 | } else { |
| 46 | - $support_feature = $features_plan_map['support']; | |
| 45 | + $support_feature = $features_plan_map['support']['feature']; | |
| 47 | 46 | } |
| 48 | 47 | |
| 49 | 48 | $features_plan_map[ $support_feature->id ]['plans'][ $plan->id ] = $support_feature; |
| 50 | 49 | } |