diff options
author | alecpl <alec@alec.pl> | 2009-04-24 17:32:49 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-04-24 17:32:49 +0000 |
commit | 79eb4e79ed15d460ecef6baa5ca115b190b83a11 (patch) | |
tree | b2c2c839272fa4ed330cf13372d1a2ce5c250698 /program/steps/mail | |
parent | 76db10d65d6c21062c39ae867ab6d34f33aca537 (diff) |
- Fix message normal priority problem (#1485820)
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/compose.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 985c0e7a5..9739a9772 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -792,7 +792,12 @@ function rcmail_priority_selector($attrib) rcube_label('highest')), array(5, 4, 0, 2, 1)); - $sel = isset($_POST['_priority']) ? $_POST['_priority'] : intval($MESSAGE->headers->priority); + if (isset($_POST['_priority'])) + $sel = $_POST['_priority']; + else if (intval($MESSAGE->headers->priority) != 3) + $sel = intval($MESSAGE->headers->priority); + else + $sel = 0; $out = $form_start ? "$form_start\n" : ''; $out .= $selector->show($sel); |