mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
fix empty needle warning on compose change profile/signature
This commit is contained in:
parent
7a305bdf95
commit
fa3029a59e
@ -603,12 +603,12 @@ class mail_compose
|
||||
else
|
||||
{
|
||||
// try the old way
|
||||
$found = strpos($content['body'],trim($oldSigText));
|
||||
$found = (strlen(trim($oldSigText))>0?strpos($content['body'],trim($oldSigText)):false);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$found = strpos($content['body'],trim($oldSigText));
|
||||
$found = (strlen(trim($oldSigText))>0?strpos($content['body'],trim($oldSigText)):false);
|
||||
}
|
||||
|
||||
if ($found !== false && $_oldSig != -2 && !(empty($oldSigText) || trim($this->convertHTMLToText($oldSigText,true,true)) ==''))
|
||||
|
Loading…
Reference in New Issue
Block a user