Default_value attribute in inline_message field is not setting properly.
Fatal error occurs at line 70 in file webform_captureplus/includes/admin.inc. Variable $settings should be checked first whether that is available or not.

Line should be like as below:
'#default_value' => !is_null($settings) ? $settings->getConfigByName('inline_message', TRUE) : TRUE,

I have attached the patch to fix the issue.

Comments

farooq.salmani created an issue. See original summary.

  • vijaycs85 committed 1903894 on 7.x-1.x
    Issue #2950005: Default_value attribute in inline_message field is not...
vijaycs85’s picture

Version: 7.x-1.3-beta3 » 7.x-1.x-dev
Status: Active » Fixed

Thanks for reporting this issue @farooq.salmani. Looks like all other elements got this check except inline_message. Fixed now.

farooq.salmani’s picture

vijaycs85’s picture

it's already committed @farooq.salmani

farooq.salmani’s picture

Thank You @vijaycs85

Status: Fixed » Closed (fixed)

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