Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11151

Some Notices in API CustomValue Create

    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

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              sluc23 Luciano Spiegel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: