|
@@ 2385-2390 (lines=6) @@
|
| 2382 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2383 |
|
} |
| 2384 |
|
|
| 2385 |
|
if ( $mod['plan_classes'] ) { |
| 2386 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2387 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2388 |
|
} else { |
| 2389 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2390 |
|
} |
| 2391 |
|
|
| 2392 |
|
if ( $mod['feature'] ) { |
| 2393 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2392-2397 (lines=6) @@
|
| 2389 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2390 |
|
} |
| 2391 |
|
|
| 2392 |
|
if ( $mod['feature'] ) { |
| 2393 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2394 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2395 |
|
} else { |
| 2396 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2397 |
|
} |
| 2398 |
|
|
| 2399 |
|
/** |
| 2400 |
|
* Filters the feature array on a module. |