|
@@ 2667-2672 (lines=6) @@
|
| 2664 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2665 |
|
} |
| 2666 |
|
|
| 2667 |
|
if ( $mod['plan_classes'] ) { |
| 2668 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2669 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2670 |
|
} else { |
| 2671 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2672 |
|
} |
| 2673 |
|
|
| 2674 |
|
if ( $mod['feature'] ) { |
| 2675 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2674-2679 (lines=6) @@
|
| 2671 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2672 |
|
} |
| 2673 |
|
|
| 2674 |
|
if ( $mod['feature'] ) { |
| 2675 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2676 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2677 |
|
} else { |
| 2678 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2679 |
|
} |
| 2680 |
|
|
| 2681 |
|
$modules_details[ $module ] = $mod; |
| 2682 |
|
|