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.
If you don't set a To name field, PHP generates notices when the email is sent because $params['views_send_to_name'] is empty and used to find an index in $params['views_send_tokens']..
$to_name_key = $params['views_send_tokens'][$params['views_send_to_name']];
Comment | File | Size | Author |
---|---|---|---|
#1 | views_send-prevent_php_notice_on_no_to_name-2035553-1.patch | 1.26 KB | johnennew |
Comments
Comment #1
johnennew CreditAttribution: johnennew commentedPlease find a patch for review.
Comment #2
hansfn CreditAttribution: hansfn commentedThx for the report. I'll fix the issue, but might not use your patch directly.
Comment #3
hansfn CreditAttribution: hansfn commentedFixed in #2258947: Call to a member function get_value() on a non-object which is a duplicate. If I had taken care of this bug earlier, I would have avoided #2258947 - sorry!