@@ 2698-2703 (lines=6) @@ | ||
2695 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2696 | } |
|
2697 | ||
2698 | if ( $mod['plan_classes'] ) { |
|
2699 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2700 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2701 | } else { |
|
2702 | $mod['plan_classes'] = array( 'free' ); |
|
2703 | } |
|
2704 | ||
2705 | if ( $mod['feature'] ) { |
|
2706 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2705-2710 (lines=6) @@ | ||
2702 | $mod['plan_classes'] = array( 'free' ); |
|
2703 | } |
|
2704 | ||
2705 | if ( $mod['feature'] ) { |
|
2706 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2707 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2708 | } else { |
|
2709 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2710 | } |
|
2711 | ||
2712 | $modules_details[ $module ] = $mod; |
|
2713 |