Actions
Bug #4197
closedCustom Value conditional not working properly for fields
Description
It's not able to properly parse out the fieldname when Custom Value is used. Need to add an empty first value in this case.
Updated by krileon over 11 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Quickfix as follows.
IN: /components/com_comprofiler/plugin/user/plug_cbconditional/cbconditional.class.php
ON: Line 793
FROM:$fieldPair = explode( ',', $params->get( 'cbconditional_field' . $conditional, null ) );
TO:$fieldPair = explode( ',', $params->get( 'cbconditional_field' . $conditional, null ) );
if ( count( $fieldPair ) < 2 ) {
array_unshift( $fieldPair, 0 );
}
Actions