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