When adding a new payment reference field to a webform, I get the following errors on the add component form:

    Notice: Undefined index: private in webform_component_edit_form() (line 442 of webform/includes/webform.components.inc).
    Notice: Undefined index: payment_description in _webform_edit_payment_webform() (line 34 of payment_webform/payment_webform.webform.inc).
CommentFileSizeAuthor
#3 payment_webform_1824540_00.patch1.02 KBxano

Comments

DevJoshLopez’s picture

I did a google search and found this. I know mine isnt from the payment for webform module but i have the same error. I get it when i tried to add a name field.

xano’s picture

I know that the private property exists, but iirc I couldn't find any documentation about it.

xano’s picture

Title: Undefined index warnings » Faulty component declaration
Assigned: Unassigned » xano
Status: Active » Needs review
StatusFileSize
new1.02 KB

The patch fixes the undefined index errors (due to faulty/missing defaults) and the component description.

xano’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

xano’s picture

Assigned: xano » Unassigned