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