htmlmail.mail.inc contains the following code:

watchdog(
          'HTMLMailSystem',
          'Cannot send email about %subject without a recipient.',
          array('subject' => $message['subject']),
          WATCHDOG_ERROR
        );

'subject' should be changed to '%subject' for a correct replacement.

This has already been fixed for Drupal 8.

CommentFileSizeAuthor
#2 2866965-htmlmail-errormsgparam-1.patch485 bytesJorrit

Comments

Jorrit created an issue. See original summary.

Jorrit’s picture

Status: Active » Needs review
StatusFileSize
new485 bytes
salvis’s picture

Status: Needs review » Fixed

Checked in — thank you, Jorrit!

Jorrit’s picture

Thanks, however I don't see any commits at http://cgit.drupalcode.org/htmlmail . Is the git viewer lagging?

  • salvis committed fcb281c on 7.x-2.x
    #2866965 by Jorrit: Fix replaceable parameter in watchdog message.
    
salvis’s picture

There! Thanks for checking!

Jorrit’s picture

No problem! Thanks for committing.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.