diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-07-25 21:55:01 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-07-25 21:57:45 +0200 |
commit | 7df4db0b4fc4dc9e964fd99e32d440f4ea881d94 (patch) | |
tree | 1f262a10b5c3e0637952e070e3db7e110bf64e21 /program/steps/mail/compose.inc | |
parent | 0d1f9ebe6a079cbfe479ae72bcab3f2c91bfd594 (diff) |
Better check for priority header
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r-- | program/steps/mail/compose.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 7cb26c1d0..73a7f34ac 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -1426,7 +1426,7 @@ function rcmail_priority_selector($attrib) if (isset($_POST['_priority'])) $sel = $_POST['_priority']; - else if ($MESSAGE->headers && intval($MESSAGE->headers->priority) != 3) + else if (isset($MESSAGE->headers->priority) && intval($MESSAGE->headers->priority) != 3) $sel = $MESSAGE->headers->priority; else $sel = 0; |