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