Better check for priority header

pull/117/head
Thomas Bruederli 11 years ago
parent 0d1f9ebe6a
commit 7df4db0b4f

@ -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;

Loading…
Cancel
Save