HomeHelpTrac

Changeset 15825 for trunk/templates


Ignore:
Timestamp:
01/04/12 06:31:20 (5 months ago)
Author:
Alexander Trofimov
Message:

Ticket #2709

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/base/scripts/BxBaseMailBox.php

    r15338 r15825  
    106106                ? getProfileInfo($this -> aMailBoxSettings['recipient_id']) 
    107107                : null; 
     108 
     109            // check if send message is allowed  
     110            $aComposeSettings = array();  
     111            $sErrMsg = $this->sendMessage('', '', $aMemberInfo ? $aMemberInfo['ID'] : 0, $aComposeSettings, true);  
     112            if ($sErrMsg)  
     113                return $sErrMsg; 
    108114 
    109115            $aLanguageKeys     = array 
     
    14891495            $iRecipientID = (int) $iRecipientID; 
    14901496 
     1497            // check if send message is allowed 
     1498            $aComposeSettings = array();  
     1499            $sErrMsg = $this->sendMessage('', '', $iRecipientID, $aComposeSettings, true);  
     1500            if ($sErrMsg)  
     1501                return $sErrMsg;  
     1502 
    14911503            // init some needed variables ; 
    14921504            $sOutputHtml     = ''; 
Note: See TracChangeset for help on using the changeset viewer.