In webform_results_export(), this is line 875:

$export_info['last_sid'] = end($submissions) ? key($submissions) : NULL;

$submissions is not mentioned in the function except in this line, leading to the above error message.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DanChadwick’s picture

Status: Active » Fixed
FileSize
2.67 KB

Ack. What a mess. Good thing this function is deprecated.

Committed to 7.x-4.x.

  • DanChadwick committed 5decac7 on 7.x-4.x
    Issue #2483251: Warning: end() expects parameter 1 to be array, null...
Liam Morland’s picture

Thanks. I would have patched it myself, but I didn't know what it was supposed to do.

Status: Fixed » Closed (fixed)

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