Changeset 1755 in subversion
- Timestamp:
- Sep 6, 2008 2:04:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/sendmail.inc
r1754 r1755 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.
