Skip to content

Skip webforms that had CiviCRM form processing disabled #3

@herbdool

Description

@herbdool

In addCiviHandler() it will skip a webform if there are no element keys that include civicrm. But I've found some webforms where getWebformCiviCRMData() returns NULL. In each case the CiviCRM processing was turned off.

What worked for me was adding:

    if (empty($webformData)) {
      return;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions