Fix warning

This commit is contained in:
Laurent Destailleur 2021-01-05 11:29:40 +01:00
parent 5e92ed0dcd
commit 2e04aa4e03

View File

@ -153,7 +153,7 @@ if ($resql) {
if ($targettype == 'contacts') {
$oldcid = $obj->cid;
}
$oldlang = $obj->lang;
$oldlang = $obj->default_lang;
$oldtarget = (empty($obj->cfirstname) && empty($obj->clastname)) ? $obj->name : ($obj->clastname." ".$obj->cfirstname);
$message = '';
$total = 0;