|
@@ 2623-2628 (lines=6) @@
|
| 2620 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2621 |
|
} |
| 2622 |
|
|
| 2623 |
|
if ( $mod['plan_classes'] ) { |
| 2624 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2625 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2626 |
|
} else { |
| 2627 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2628 |
|
} |
| 2629 |
|
|
| 2630 |
|
if ( $mod['feature'] ) { |
| 2631 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2630-2635 (lines=6) @@
|
| 2627 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2628 |
|
} |
| 2629 |
|
|
| 2630 |
|
if ( $mod['feature'] ) { |
| 2631 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2632 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2633 |
|
} else { |
| 2634 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2635 |
|
} |
| 2636 |
|
|
| 2637 |
|
/** |
| 2638 |
|
* Filters the feature array on a module. |