HomeHelpTrac

Changeset 13903 for trunk/administration


Ignore:
Timestamp:
04/06/10 03:54:12 (2 years ago)
Author:
Alexander Levitskiy
Message:

E-mail header and footer is duplicated in the messages. The first message is OK and all following contain the headers and footers of all previous ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/notifies.php

    r13886 r13903  
    369369    $iMsgId = (int)$_POST['msgs_id']; 
    370370 
    371     $aMessage = $MySQL->getRow("SELECT `id`, `subject`, `body` FROM `sys_sbs_messages` WHERE `id`='" . $iMsgId . "' LIMIT 1"); 
    372     if(!is_array($aMessage) || empty($aMessage)) { 
     371    $aOriginalMessage = $MySQL->getRow("SELECT `id`, `subject`, `body` FROM `sys_sbs_messages` WHERE `id`='" . $iMsgId . "' LIMIT 1"); 
     372    if(!is_array($aOriginalMessage) || empty($aOriginalMessage)) { 
    373373        return _t('_adm_mmail_Failed_to_queue_emails_X', $iMsgId); 
    374374    }    
     
    396396                'RealName' => $aSubscriber['user_name'], 
    397397                'Email' => $aSubscriber['user_email'], 
    398                 'MessageSubject' => $aMessage['subject'], 
    399                 'MessageText' => $aMessage['body'] 
     398                'MessageSubject' => $aOriginalMessage['subject'], 
     399                'MessageText' => $aOriginalMessage['body'] 
    400400            )); 
    401401 
Note: See TracChangeset for help on using the changeset viewer.