|
@@ 2423-2428 (lines=6) @@
|
| 2420 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2421 |
|
} |
| 2422 |
|
|
| 2423 |
|
if ( $mod['plan_classes'] ) { |
| 2424 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2425 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2426 |
|
} else { |
| 2427 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2428 |
|
} |
| 2429 |
|
|
| 2430 |
|
if ( $mod['feature'] ) { |
| 2431 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2430-2435 (lines=6) @@
|
| 2427 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2428 |
|
} |
| 2429 |
|
|
| 2430 |
|
if ( $mod['feature'] ) { |
| 2431 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2432 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2433 |
|
} else { |
| 2434 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2435 |
|
} |
| 2436 |
|
|
| 2437 |
|
$modules_details[ $module ] = $mod; |
| 2438 |
|
|