Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Downloading results from node/x/webform-results/download throws the above E_NOTICE if there are no submissions for the webform.
Comment | File | Size | Author |
---|---|---|---|
#3 | webform_last_sid-2006740.patch | 336 bytes | quicksketch |
#1 | webform-E_NOTICE-2006740-1.patch | 518 bytes | robwilmshurst |
Comments
Comment #1
robwilmshurst CreditAttribution: robwilmshurst commentedPatch attached, however I'm not sure if it makes more sense to define $sid before we iterate through $submissions at line 754.
Comment #2
robwilmshurst CreditAttribution: robwilmshurst commentedComment #3
quicksketchThanks, nice find. I've committed this patch to all branches which just defined $sid with a value of 0.