summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2007-02-22 03:54:03 +0000
committersvncommit <devs@roundcube.net>2007-02-22 03:54:03 +0000
commit789eba3a2dff7e8fac3ede20a353dd7d1f35782d (patch)
treeee2dce1ae896c0d2125dbdf5f84c35851cefba51
parentf1a16f1c47913c5ae4145d2e7967347bf0adee19 (diff)
minor code fixes
-rw-r--r--program/include/rcube_shared.inc2
-rw-r--r--program/steps/mail/compose.inc2
2 files changed, 1 insertions, 3 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index 6cf641893..a26fc108b 100644
--- a/program/include/rcube_shared.inc
+++ b/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/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 1c2639d9b..211f9fbe8 100644
--- a/program/steps/mail/compose.inc
+++ b/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);