Skip to content

Conversation

@akamola
Copy link

@akamola akamola commented Dec 3, 2018

PHP (with WordPress in development mode) shows a notice error on custom fields without a required flag:

Notice: Undefined index: _custom_field_1_required in […]/wordpress/wp-content/plugins/sendpress/classes/sc/class-sendpress-sc-forms.php on line 494

This fix provides a quick fix with a check, if the required flag exists in the options array.

PHP (with WordPress in development mode) shows a notice error on custom fields without a required flag:

> Notice:  Undefined index: _custom_field_1_required in […]/wordpress/wp-content/plugins/sendpress/classes/sc/class-sendpress-sc-forms.php on line 494

This fix provides a quick fix with a check, if the required flag exists in the options array.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant