On line 2999 in webform.module the function _webform_filter_values always expects the Super Global $_COOKIE to exist and it does not always. The included patch will create an empty array if $_COOKIE is not set instead of throwing errors.

CommentFileSizeAuthor
webform_3.19_cookie.patch405 bytes1point21

Comments

quicksketch’s picture

Priority: Normal » Minor
Status: Active » Reviewed & tested by the community

Thanks! Seems like it should be fine. These variables don't exist in the 4.x branch any more, so this only needs to be applied to 6.x-3.x and 7.x-3.x.

quicksketch’s picture

Title: _COOKIE not defined in _webform_filter_values [Solution & Patch Provide] » $_COOKIE not always defined in _webform_filter_values
Status: Reviewed & tested by the community » Fixed

Thanks, committed to 3.x branches!

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