Solved bug: 1483828. (Meaning of the numbers isn't changed in my solution)

release-0.6
svncommit 19 years ago
parent 1a2c177fa3
commit 3287e84c90

@ -139,7 +139,7 @@ if (!empty($_SESSION['compose']['references']))
if (!empty($_POST['_priority'])) if (!empty($_POST['_priority']))
{ {
$priority = (int)$_POST['_priority']; $priority = (int)$_POST['_priority'];
$a_priorities = array(1=>'lowest', 2=>'low', 4=>'high', 5=>'highest'); $a_priorities = array(1=>'highest', 2=>'high', 4=>'low', 5=>'lowest');
if ($str_priority = $a_priorities[$priority]) if ($str_priority = $a_priorities[$priority])
$headers['X-Priority'] = sprintf("%d (%s)", $priority, ucfirst($str_priority)); $headers['X-Priority'] = sprintf("%d (%s)", $priority, ucfirst($str_priority));
} }

Loading…
Cancel
Save