@@ 2724-2729 (lines=6) @@ | ||
2721 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2722 | } |
|
2723 | ||
2724 | if ( $mod['plan_classes'] ) { |
|
2725 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2726 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2727 | } else { |
|
2728 | $mod['plan_classes'] = array( 'free' ); |
|
2729 | } |
|
2730 | ||
2731 | if ( $mod['feature'] ) { |
|
2732 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2731-2736 (lines=6) @@ | ||
2728 | $mod['plan_classes'] = array( 'free' ); |
|
2729 | } |
|
2730 | ||
2731 | if ( $mod['feature'] ) { |
|
2732 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2733 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2734 | } else { |
|
2735 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2736 | } |
|
2737 | ||
2738 | $modules_details[ $module ] = $mod; |
|
2739 |