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