From f7935e21b28f1b71aaf47e8c211c26e140f3a614 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Wed, 6 Sep 2023 18:05:29 +0300 Subject: [PATCH] Fix signature in a new message --- mailbox/reply_mail.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailbox/reply_mail.cgi b/mailbox/reply_mail.cgi index ec655d27..b6035a6a 100755 --- a/mailbox/reply_mail.cgi +++ b/mailbox/reply_mail.cgi @@ -811,7 +811,7 @@ my $iframe_quote; $iframe_quote = &iframe_quote($quote) if (!$in{'new'} && !$in{'enew'}); my $draft; -$draft = $quote if ($in{'enew'}); +$draft = $quote if ($in{'new'} || $in{'enew'}); if ($html_edit) { # Get HTML editor and replies @@ -843,7 +843,7 @@ else { $wm =~ s/^wrap=//g; my $wcols = $userconfig{'wrap_compose'}; print &ui_table_row(undef, - &ui_textarea("body", "\n".$draft || "\n\n$sig\n\n$quote", 16, + &ui_textarea("body", "\n".($draft || "\n\n$sig\n\n$quote"), 16, $wcols || 80, $wcols ? "hard" : "", 0,