Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.2
-
Fix Version/s: 4.3.0
-
Component/s: CiviCRM API
-
Labels:None
Description
I attach a patch file to avoid PHP Notice messages in CustomValue create method:
- Notice: Undefined index: entity_table in civicrm_api3_custom_value_create() (line 79 of .../sites/all/modules/civicrm/api/v3/CustomValue.php).
- Notice: Undefined offset: 1 in civicrm_api3_custom_value_create() (line 90 of .../sites/all/modules/civicrm/api/v3/CustomValue.php).
Forum thread: http://forum.civicrm.org/index.php/topic,21844.msg108791.html#msg108791