HomeHelpTrac

Ignore:
Timestamp:
10/20/09 19:42:05 (3 years ago)
Author:
Alexander Trofimov
Message:

Ticket #1340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc/BxDolXMLRPCMessages.php

    r9985 r12990  
    3232        require_once( BX_DIRECTORY_PATH_ROOT . 'templates/tmpl_' . $GLOBALS['tmpl'] . '/scripts/BxTemplMailBox.php');  
    3333 
     34        $sRecipient = process_db_input ($sRecipient, BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION); 
    3435        $aRecipient = db_arr("SELECT * FROM `Profiles` WHERE `NickName` = '$sRecipient'"); 
    3536        if (!$aRecipient) 
     
    4445            'send_copy_to_me' => 'me' == $sSendTo || 'both' == $sSendTo ? true : false, 
    4546        ); 
    46         $oMailBox->sendMessage(strip_tags($sSubj), nl2br(strip_tags($sText)), $aRecipient['ID'], $aComposeSettings); 
     47        $oMailBox->sendMessage(process_db_input ($sSubj, BX_TAGS_STRIP, BX_SLASHES_NO_ACTION), nl2br(process_db_input ($sText, BX_TAGS_STRIP, BX_SLASHES_NO_ACTION)), $aRecipient['ID'], $aComposeSettings); 
    4748        return new xmlrpcval ($oMailBox->iSendMessageStatusCode); 
    4849    } 
     
    5556 
    5657        $aMsgs = array (); 
     58        $iMsgId = (int)$iMsgId; 
    5759        $sJoinOn = $isInbox ? " `m`.`Sender` = `p`.`ID` " : " `m`.`Recipient` = `p`.`ID` "; 
    5860        $aRow = db_arr ("SELECT  
Note: See TracChangeset for help on using the changeset viewer.