Changeset 12990 for trunk/xmlrpc/BxDolXMLRPCMessages.php
- Timestamp:
- 10/20/09 19:42:05 (3 years ago)
- File:
-
- 1 edited
-
trunk/xmlrpc/BxDolXMLRPCMessages.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc/BxDolXMLRPCMessages.php
r9985 r12990 32 32 require_once( BX_DIRECTORY_PATH_ROOT . 'templates/tmpl_' . $GLOBALS['tmpl'] . '/scripts/BxTemplMailBox.php'); 33 33 34 $sRecipient = process_db_input ($sRecipient, BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION); 34 35 $aRecipient = db_arr("SELECT * FROM `Profiles` WHERE `NickName` = '$sRecipient'"); 35 36 if (!$aRecipient) … … 44 45 'send_copy_to_me' => 'me' == $sSendTo || 'both' == $sSendTo ? true : false, 45 46 ); 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); 47 48 return new xmlrpcval ($oMailBox->iSendMessageStatusCode); 48 49 } … … 55 56 56 57 $aMsgs = array (); 58 $iMsgId = (int)$iMsgId; 57 59 $sJoinOn = $isInbox ? " `m`.`Sender` = `p`.`ID` " : " `m`.`Recipient` = `p`.`ID` "; 58 60 $aRow = db_arr ("SELECT
Note: See TracChangeset
for help on using the changeset viewer.