Fix error message

This commit is contained in:
Laurent Destailleur 2026-01-28 12:55:15 +01:00
parent a02cf18703
commit 67fe092db0

View file

@ -2689,7 +2689,7 @@ class EmailCollector extends CommonObject
if ($result < 0) {
$errorforactions++;
$this->error = 'Error when getting thirdparty with name '.$nametouseforthirdparty.' (may be 2 record exists with same name ?)';
$this->error = 'Error when getting thirdparty with name '.((string) $nametouseforthirdparty).', alternative name '.((string) $namealiastouseforthirdparty).' and email '.$emailtouseforthirdparty.' (may be 2 record exists with same name ?)';
$this->errors[] = $this->error;
break;
}