Closed (fixed)
Project:
Webform Campaign Monitor
Version:
7.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2015 at 12:37 UTC
Updated:
13 Aug 2015 at 06:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pdnsmith commentedSo I made a patch to fix this - before calling _webform_campaignmonitor_subscribe() the new code simply checks if the current_page == total_number_pages. Seems to be working ok.
Comment #2
pdnsmith commentedComment #3
pdnsmith commentedComment #4
jorgegc commentedThanks for the patch @pdnsmith. I will look into it ASAP!
Comment #5
jorgegc commentedHi @pdnsmith,
I have tested your patch but unfortunately it doesn't work if you are on the last page and click "Previous" to go back to the second last. I suggest we fix it but replacing the hook_form_alter with a hook_webform_submission_insert. Please find attached my patch.
Comment #8
jorgegc commented