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