@@ 2739-2744 (lines=6) @@ | ||
2736 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2737 | } |
|
2738 | ||
2739 | if ( $mod['plan_classes'] ) { |
|
2740 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2741 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2742 | } else { |
|
2743 | $mod['plan_classes'] = array( 'free' ); |
|
2744 | } |
|
2745 | ||
2746 | if ( $mod['feature'] ) { |
|
2747 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2746-2751 (lines=6) @@ | ||
2743 | $mod['plan_classes'] = array( 'free' ); |
|
2744 | } |
|
2745 | ||
2746 | if ( $mod['feature'] ) { |
|
2747 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2748 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2749 | } else { |
|
2750 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2751 | } |
|
2752 | ||
2753 | $modules_details[ $module ] = $mod; |
|
2754 |