X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fcompose.php;h=37a15656dc083e350c2006878a511fdd885dba9f;hb=1e63b43003a372f5b420d5696ccb54ff45bd7972;hp=c2433a26c614c17f460f4e1ed699d0096f8cb9c7;hpb=3b4872168a541cef38d8a4ba2357c9afc3cf7041;p=squirrelmail.git diff --git a/src/compose.php b/src/compose.php index c2433a26..37a15656 100644 --- a/src/compose.php +++ b/src/compose.php @@ -35,7 +35,7 @@ if (!isset($mailbox) || $mailbox == '' || ($mailbox == 'None')) { } if (isset($draft)) { - require_once ('../src/draft_actions.php'); + include_once ('../src/draft_actions.php'); if (!saveMessageAsDraft($send_to, $send_to_cc, $send_to_bcc, $subject, $body, $reply_id)) { showInputForm(); exit(); @@ -454,8 +454,8 @@ function showInputForm () { showComposeButtonRow(); } - $idents = getPref($data_dir, $username, 'identities'); - if ($idents != '' && $idents > 1) { + $idents = getPref($data_dir, $username, 'identities', 0); + if ($idents > 1) { echo ' ' . "\n" . ' ' . "\n" .