From 9ee9aad19c998f0360a2a59bf80b7fa687b878f5 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 2 May 2014 10:39:22 +0000 Subject: [PATCH] only save LastSignatureIDUsed when different from the last one --- mail/inc/class.mail_compose.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 666b07ccde..4d7965d916 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -309,7 +309,7 @@ class mail_compose $sendOK=false; $message = $this->errorInfo; } - if (!empty($_content['signatureid'])) + if (!empty($_content['signatureid']) && $_content['signatureid'] != $sigPref[$this->mail_bo->profileID]) { $sigPref[$this->mail_bo->profileID]=$_content['signatureid']; $GLOBALS['egw']->preferences->add('mail','LastSignatureIDUsed',$sigPref,'user');