summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-04-21 10:43:19 +0000
committeralecpl <alec@alec.pl>2009-04-21 10:43:19 +0000
commit7c8b80600d2ab38ceb9ebad444f8a8db40278ef5 (patch)
treee0054839b2e93ce508bc3e2f7fd77931217c2bca
parentc4b819e9b9792c8819ef60136aa4945884f4f84d (diff)
- support _nosig param in compose URL (#1485604)
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index c93fa9be2..985c0e7a5 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -290,7 +290,7 @@ function rcmail_compose_header_from($attrib)
$select_from->add(format_email_recipient($sql_arr['email'], $sql_arr['name']), $identity_id);
// add signature to array
- if (!empty($sql_arr['signature']))
+ if (!empty($sql_arr['signature']) && empty($_SESSION['compose']['param']['_nosig']))
{
$a_signatures[$identity_id]['text'] = $sql_arr['signature'];
$a_signatures[$identity_id]['is_html'] = ($sql_arr['html_signature'] == 1) ? true : false;