}
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();
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" .