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.
Hi,
When going to the td_redirect callback without URL parameters, there are couple PHP notices:
Notice: Undefined index: tduid in commerce_tradedoubler_callback() (line 54 of /var/www/builds/build_2014-02-18-134533/sites/all/modules/contrib/commerce_tradedoubler/commerce_tradedoubler.module).
Notice: Undefined variable: url in commerce_tradedoubler_callback() (line 62 of /var/www/builds/build_2014-02-18-134533/sites/all/modules/contrib/commerce_tradedoubler/commerce_tradedoubler.module).
Patch follows.
Comment | File | Size | Author |
---|---|---|---|
#1 | commerce_tradedoubler-undefined-indexfix-2200151-1.patch | 1.99 KB | iSampo |
Comments
Comment #1
iSampo CreditAttribution: iSampo commentedHere's patch for the undefined index errors. Also fixed a typo on the watchdog message and reformatted the watchdog message so the URL parameters are printed separately instead of after each other without spaces.
E: It seems my editor also stripped some trailing white spaces there. Oh well. :)
Comment #2
marcofernandes CreditAttribution: marcofernandes commentedPatched and on 7.x-1.2 release.
Thank you for your contribution!