When I try to clear the results, here's what happens:

1) I have several entries
2) I am logged in as the admin
3) Click on the 'Results' tab
4) Click on the 'Clear' tab, where you have the 'are you sure' type message
5) Click on the 'clear' button
6) Redirects to "/admin/content/webform" page, and the message says, "Webform entries cleared"
7) However, clicking on 'view submissions' shows that all of the entries are still there. Nothing deleted.

I can manually delete the entries one by one, but not using the 'Clear' function.

Any ideas?

Comments

ira42’s picture

Status: Active » Needs review

Found it. For me, changing line 95 in webform_submissions.inc from:

function webform_results_clear_form($node) {

to:

function webform_results_clear_form($form_state, $node) {

did the trick!

quicksketch’s picture

Status: Needs review » Closed (duplicate)

Thanks, this issue was already fixed in http://drupal.org/node/252808.