mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 12:00:09 +01:00
* eMail: enforce signature description if none given, on personal signatures
This commit is contained in:
parent
4794e4617d
commit
0be52c896e
@ -114,7 +114,11 @@
|
||||
|
||||
$db->update($this->tableName, $data, $where, __LINE__, __FILE__);
|
||||
}
|
||||
|
||||
if (empty($this->fm_description))
|
||||
{
|
||||
$buff = trim(substr(str_replace(array("\r\n","\r","\n","\t"),array(" "," "," "," "),translation::convertHTMLToText($this->fm_signature)),0,100));
|
||||
$this->fm_description = $buff?$buff:lang('none');
|
||||
}
|
||||
$data = array(
|
||||
'fm_accountid' => $this->accountID,
|
||||
'fm_signature' => $this->fm_signature,
|
||||
|
Loading…
Reference in New Issue
Block a user