Better check for priority header

pull/96/merge
Thomas Bruederli 11 years ago
parent 64b55c4084
commit 469ede77cb

@ -1454,7 +1454,7 @@ function rcmail_priority_selector($attrib)
if (isset($_POST['_priority'])) if (isset($_POST['_priority']))
$sel = $_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; $sel = $MESSAGE->headers->priority;
else else
$sel = 0; $sel = 0;

Loading…
Cancel
Save