OPC fixes these bugs for you when the backend configuration is entered and the bug is detected.
File:
\administrator\components\com_virtuemart\models\userfields.php
line: 813
- Code: Select all
$_return['fields'][$_fld->name]['formcode'] = JHTML::_('select.radiolist', $_values, $_prefix.$_fld->name, $_attribs, $_selected, 'fieldvalue', 'fieldtitle');
the proper syntax for joomla 1.5.x to 2.5.x is:
- Code: Select all
$_return['fields'][$_fld->name]['formcode'] = JHTML::_('select.radiolist', $_values, $_prefix.$_fld->name, $_attribs, 'fieldvalue', 'fieldtitle', $_selected);
This bug is automatically fixed by OPC from version 2.0.55
Best Regards,
Stan