summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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;