Closed (fixed)
Project:
Webform
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2012 at 20:15 UTC
Updated:
28 Jun 2013 at 02:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
traviscarden commentedComment #2
acbramley commentedThis exists on 7.x-3.x branch too, rolled this patch for that.
Comment #3
traviscarden commentedComment #4
fenstratThanks guys, but I can't replicate this. Is it happening on nodes with empty webforms? Patch looks fine, I'm just trying to understand when $node->webform['components'] and $node->webform['emails'] would not be set.
Comment #5
acbramley commentedYeah a webform with no components or emails set is what causes it I believe
Comment #6
traviscarden commentedComment #7
quicksketchHi guys, thanks for this patch. Another way to solve this problem is to simply not include nodes in
webform_mollom_form_list()that don't have a record in the "webform" table, since we already keep that table clean of any nodes that don't have any components or e-mails. We did a similar fix in #1562756: Webform "admin/content/webform" page should only show nodes with webform configuration, not all webform-enabled types.Comment #8
quicksketchPatches that take the approach suggested in #7.
Comment #9
quicksketchI went ahead and committed these patches. Please let me know if there are any further issues with the Mollom listing.