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.
Added field has a wrong value for "destination" property.
Drupal function drupal_get_destination()
doesn't return a string but a single element array:
array('destination' => ...dest_url...);
Spamicide will send this value to drupal_goto()
, generating warnings.
See the attached patch for a fix on function spamicide_form_alter()
.
Comment | File | Size | Author |
---|---|---|---|
bad_destination_value.diff | 1013 bytes | nicorac |
Comments
Comment #1
seandunaway CreditAttribution: seandunaway commentedI've been using this in production. This is a major fix as it throws half a dozen warnings to watchdog for every submission.
Thanks nicorac!
Comment #2
nicorac CreditAttribution: nicorac commentedYou're welcome.
Thanks for testing it.
Hope it will be included soon.
Comment #3
lipcpro CreditAttribution: lipcpro commented