Changeset 6028 in subversion
- Timestamp:
- Mar 21, 2012 8:53:50 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/compose.inc
r5994 r6028 30 30 31 31 $MESSAGE_FORM = null; 32 $MESSAGE = null;33 32 $COMPOSE_ID = get_input_value('_id', RCUBE_INPUT_GET); 34 33 $COMPOSE = null; … … 182 181 183 182 // 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'])) 185 184 $RCMAIL->storage->set_flag($msg_uid, 'SEEN'); 186 185 … … 241 240 $MESSAGE->forward_attachment = true; 242 241 } 242 } 243 else { 244 $MESSAGE = new stdClass(); 243 245 } 244 246 … … 1397 1399 $checkbox = new html_checkbox($attrib); 1398 1400 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))) 1400 1402 $mdn_default = (bool) $MESSAGE->headers->mdn_to; 1401 1403 else
Note: See TracChangeset
for help on using the changeset viewer.
