|
@@ 2577-2582 (lines=6) @@
|
| 2574 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2575 |
|
} |
| 2576 |
|
|
| 2577 |
|
if ( $mod['plan_classes'] ) { |
| 2578 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2579 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2580 |
|
} else { |
| 2581 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2582 |
|
} |
| 2583 |
|
|
| 2584 |
|
if ( $mod['feature'] ) { |
| 2585 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2584-2589 (lines=6) @@
|
| 2581 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2582 |
|
} |
| 2583 |
|
|
| 2584 |
|
if ( $mod['feature'] ) { |
| 2585 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2586 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2587 |
|
} else { |
| 2588 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2589 |
|
} |
| 2590 |
|
|
| 2591 |
|
/** |
| 2592 |
|
* Filters the feature array on a module. |