mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
only save LastSignatureIDUsed when different from the last one
This commit is contained in:
parent
0fcea2103a
commit
9ee9aad19c
@ -309,7 +309,7 @@ class mail_compose
|
|||||||
$sendOK=false;
|
$sendOK=false;
|
||||||
$message = $this->errorInfo;
|
$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'];
|
$sigPref[$this->mail_bo->profileID]=$_content['signatureid'];
|
||||||
$GLOBALS['egw']->preferences->add('mail','LastSignatureIDUsed',$sigPref,'user');
|
$GLOBALS['egw']->preferences->add('mail','LastSignatureIDUsed',$sigPref,'user');
|
||||||
|
Loading…
Reference in New Issue
Block a user