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