Downloading results from node/x/webform-results/download throws the above E_NOTICE if there are no submissions for the webform.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

robwilmshurst’s picture

Patch attached, however I'm not sure if it makes more sense to define $sid before we iterate through $submissions at line 754.

robwilmshurst’s picture

Status: Active » Needs review
quicksketch’s picture

Status: Needs review » Fixed
FileSize
336 bytes

Thanks, nice find. I've committed this patch to all branches which just defined $sid with a value of 0.

Status: Fixed » Closed (fixed)

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