Changeset 0b6c1cf in github
- Timestamp:
- Sep 6, 2008 2:04:15 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- b8dc8fe6
- Parents:
- 9d55d2c
- File:
-
- 1 edited
-
program/steps/mail/sendmail.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/mail/sendmail.inc
r9d55d2c r0b6c1cf 22 22 23 23 24 if (!isset($_SESSION['compose']['id'])) 25 { 24 // remove all scripts and act as called in frame 25 $OUTPUT->reset(); 26 $OUTPUT->framed = TRUE; 27 28 29 if (!isset($_SESSION['compose']['id'])) { 26 30 raise_error(array('code' => 500, 'file' => __FILE__, 'message' => "Invalid compose ID"), true, false); 27 rcmail_overwrite_action('compose'); 28 return; 29 } 31 console("Sendmail error", $_SESSION['compose']); 32 $OUTPUT->show_message("An internal error occured. Please try again.", 'error'); 33 $OUTPUT->send('iframe'); 34 } 30 35 31 36 … … 118 123 $savedraft = !empty($_POST['_draft']) ? TRUE : FALSE; 119 124 120 // remove all scripts and act as called in frame121 $OUTPUT->reset();122 $OUTPUT->framed = TRUE;123 124 125 125 126 /****** check submission and compose message ********/
Note: See TracChangeset
for help on using the changeset viewer.
