Ignore:
Timestamp:
Dec 16, 2009 7:25:39 PM (14 years ago)
Author:
quinn
Message:

Fixed minor issue when a log event is generated when sending to an array of email addresses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Email.inc.php

    r362 r364  
    270270        // Ensure required values exist.
    271271        if (!isset($this->_params['subject'])) {
    272             $app->logMsg(sprintf('Cannot send email to %s. SUBJECT not defined.', $this->_params['to']), LOG_ERR, __FILE__, __LINE__);
     272            $app->logMsg('Cannot send email. SUBJECT not defined.', LOG_ERR, __FILE__, __LINE__);
    273273            return false;
    274274        } else if (!isset($this->_template)) {
Note: See TracChangeset for help on using the changeset viewer.