I know 7.x-3.x is only receiving critical bug fixes, and this is definitely not one of those, but it might help out the lonely 7.x-3.x users out there.

When using PHP7.1 the module throws a warning:

'Warning: A non-numeric value encountered in _webform_render_number() (line 298 of /app/public/sites/all/modules/contrib-patch/webform/components/number.inc).'

The patch below should prevent this warning from being thrown.

Comments

Spokje created an issue. See original summary.

spokje’s picture

spokje’s picture

Assigned: spokje » Unassigned
Status: Active » Needs review
liam morland’s picture

Webform 3 receives critical bug fixes only. If the WF3 community gets this to RTBC, I will commit it.

oldspot’s picture

Status: Needs review » Reviewed & tested by the community

Encountered this issue on one of our sites and tested the patch and works well with PHP 7.1, 7.2, and 7.3.

  • Liam Morland committed 121445c on 7.x-3.x authored by Spokje
    Issue #3027544 by Spokje, Liam Morland, oldspot: Fix non-numeric value...
liam morland’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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