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