Changeset 6028 in subversion


Ignore:
Timestamp:
Mar 21, 2012 8:53:50 AM (15 months ago)
Author:
alec
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r5994 r6028  
    3030 
    3131$MESSAGE_FORM = null; 
    32 $MESSAGE      = null; 
    3332$COMPOSE_ID   = get_input_value('_id', RCUBE_INPUT_GET); 
    3433$COMPOSE      = null; 
     
    182181 
    183182  // make sure message is marked as read 
    184   if ($MESSAGE && $MESSAGE->headers && empty($MESSAGE->headers->flags['SEEN'])) 
     183  if ($MESSAGE->headers && empty($MESSAGE->headers->flags['SEEN'])) 
    185184    $RCMAIL->storage->set_flag($msg_uid, 'SEEN'); 
    186185 
     
    241240      $MESSAGE->forward_attachment = true; 
    242241  } 
     242} 
     243else { 
     244  $MESSAGE = new stdClass(); 
    243245} 
    244246 
     
    13971399  $checkbox = new html_checkbox($attrib); 
    13981400 
    1399   if ($MESSAGE && in_array($compose_mode, array(RCUBE_COMPOSE_DRAFT, RCUBE_COMPOSE_EDIT))) 
     1401  if (in_array($compose_mode, array(RCUBE_COMPOSE_DRAFT, RCUBE_COMPOSE_EDIT))) 
    14001402    $mdn_default = (bool) $MESSAGE->headers->mdn_to; 
    14011403  else 
Note: See TracChangeset for help on using the changeset viewer.