Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.0.1
-
Fix Version/s: 3.4.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
Saving multivalue custom group data results in:
- Notice: Undefined variable: i in CRM_Contact_Form_CustomData->preProcess() (line 144 of /home/mysite/www/www/sites/all/modules/civicrm/CRM/Contact/Form/CustomData.php
Solution, edit that line to be:
for ( $i=0; $i <= $_POST['hidden_custom_group_count'][$this->_groupID]; $i++ ) {
i.e. I added two characters:
=0