Bug #4197
closed
Custom Value conditional not working properly for fields
Added by krileon about 11 years ago.
Updated about 11 years ago.
Start date:
30 August 2013
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.
- 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 );
}
- Target version set to 3.0.11
- Status changed from Resolved to Closed
Also available in: Atom
PDF