summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-07-25 21:55:01 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-07-25 21:55:01 +0200
commit469ede77cbc147142425609d9b57022462198816 (patch)
tree4c40060368ca32267a996a3b00dd79bc72ec1445 /program/steps/mail/compose.inc
parent64b55c40843f85ac14ee54b1904307ee532c4a0d (diff)
Better check for priority header
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 8e29553d0..2330bc040 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -1454,7 +1454,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;