Changeset 252d274 in github


Ignore:
Timestamp:
Mar 21, 2012 8:53:50 AM (14 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
0223094
Parents:
de4de81
Message:
File:
1 edited

Legend:

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

    r4be86f3 r252d274  
    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.