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']];
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

johnennew’s picture

Status: Active » Needs review
FileSize
1.26 KB

Please find a patch for review.

hansfn’s picture

Assigned: Unassigned » hansfn

Thx for the report. I'll fix the issue, but might not use your patch directly.

hansfn’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)

Fixed 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!