Changeset 86df152 in github for program/steps/mail/compose.inc
- Timestamp:
- Dec 29, 2006 4:06:39 PM (6 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- e93a2d7
- Parents:
- 3b12aee
- File:
-
- 1 edited
-
program/steps/mail/compose.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/mail/compose.inc
r2bca6e1 r86df152 47 47 $MESSAGE = NULL; 48 48 49 // nothing below is called during message composition, only at "new/forward/reply/draft" initialization 50 // since there are many ways to leave the compose page improperly, it seems necessary to clean-up an old 49 // Nothing below is called during message composition, only at "new/forward/reply/draft" initialization or 50 // if a compose-ID is given (i.e. when the compose step is opened in a new window/tab). 51 // Since there are many ways to leave the compose page improperly, it seems necessary to clean-up an old 51 52 // compose when a "new/forward/reply/draft" is called - otherwise the old session attachments will appear 52 53 53 rcmail_compose_cleanup(); 54 $_SESSION['compose'] = array('id' => uniqid(rand())); 54 if (!is_array($_SESSION['compose']) || $_SESSION['compose']['id'] != get_input_value('_id', RCUBE_INPUT_GET)) 55 { 56 rcmail_compose_cleanup(); 57 $_SESSION['compose'] = array('id' => uniqid(rand())); 58 } 55 59 56 60 // add some labels to client
Note: See TracChangeset
for help on using the changeset viewer.
