summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorestadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-02-22 03:54:03 +0000
committerestadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-02-22 03:54:03 +0000
commit56fd27a1b90d5dfad5830497a849e33da6c3b5d6 (patch)
tree600b89d93bb1efbc9e6b2d77b1856e5ad14242a5
parentad5fb8f33aaeb92f27e4d4b29d91a6f8e739f6cf (diff)
minor code fixes
git-svn-id: https://svn.roundcube.net/trunk@493 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/include/rcube_shared.inc2
-rw-r--r--roundcubemail/program/steps/mail/compose.inc2
2 files changed, 1 insertions, 3 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc
index 6cf641893..a26fc108b 100644
--- a/roundcubemail/program/include/rcube_shared.inc
+++ b/roundcubemail/program/include/rcube_shared.inc
@@ -1195,8 +1195,6 @@ EOF;
return strtoupper($text);
else if ($attrib['lowercase'])
return strtolower($text);
- else
- return $text;
return $text;
}
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index 1c2639d9b..211f9fbe8 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -766,7 +766,7 @@ function rcmail_priority_selector($attrib)
rcube_label('highest')),
array(5, 4, 0, 2, 1));
- $sel = isset($_POST['_priority']) ? $_POST['_priority'] : 0;
+ $sel = isset($_POST['_priority']) ? $_POST['_priority'] : rcube_label('normal');
$out = $form_start ? "$form_start\n" : '';
$out .= $selector->show($sel);