@@ 2730-2735 (lines=6) @@ | ||
2727 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2728 | } |
|
2729 | ||
2730 | if ( $mod['plan_classes'] ) { |
|
2731 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2732 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2733 | } else { |
|
2734 | $mod['plan_classes'] = array( 'free' ); |
|
2735 | } |
|
2736 | ||
2737 | if ( $mod['feature'] ) { |
|
2738 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2737-2742 (lines=6) @@ | ||
2734 | $mod['plan_classes'] = array( 'free' ); |
|
2735 | } |
|
2736 | ||
2737 | if ( $mod['feature'] ) { |
|
2738 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2739 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2740 | } else { |
|
2741 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2742 | } |
|
2743 | ||
2744 | $modules_details[ $module ] = $mod; |
|
2745 |