projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Misc. documentation fixes by Simon Dick.
[squirrelmail.git]
/
src
/
compose.php
diff --git
a/src/compose.php
b/src/compose.php
index c2433a26c614c17f460f4e1ed699d0096f8cb9c7..37a15656dc083e350c2006878a511fdd885dba9f 100644
(file)
--- a/
src/compose.php
+++ b/
src/compose.php
@@
-35,7
+35,7
@@
if (!isset($mailbox) || $mailbox == '' || ($mailbox == 'None')) {
}
if (isset($draft)) {
}
if (isset($draft)) {
-
requir
e_once ('../src/draft_actions.php');
+
includ
e_once ('../src/draft_actions.php');
if (!saveMessageAsDraft($send_to, $send_to_cc, $send_to_bcc, $subject, $body, $reply_id)) {
showInputForm();
exit();
if (!saveMessageAsDraft($send_to, $send_to_cc, $send_to_bcc, $subject, $body, $reply_id)) {
showInputForm();
exit();
@@
-454,8
+454,8
@@
function showInputForm () {
showComposeButtonRow();
}
showComposeButtonRow();
}
- $idents = getPref($data_dir, $username, 'identities');
- if ($idents
!= '' && $idents
> 1) {
+ $idents = getPref($data_dir, $username, 'identities'
, 0
);
+ if ($idents > 1) {
echo ' <TR>' . "\n" .
' <TD BGCOLOR="' . $color[4] . '" WIDTH="10%" ALIGN=RIGHT>' .
"\n" .
echo ' <TR>' . "\n" .
' <TD BGCOLOR="' . $color[4] . '" WIDTH="10%" ALIGN=RIGHT>' .
"\n" .