FIX : wrong function name

This commit is contained in:
gauthier 2018-10-03 10:38:47 +02:00
parent 6e7fd15e1e
commit 587766b39b

View File

@ -440,7 +440,7 @@ function pdf_build_address($outputlangs,$sourcecompany,$targetcompany='',$target
// Contact on a thirdparty that is a different thirdparty than the thirdparty of object
if ($targetcontact->socid > 0 && $targetcontact->socid != $targetcompany->id)
{
$targetcontact->fetch_thirparty();
$targetcontact->fetch_thirdparty();
$companytouseforaddress = $targetcontact->thirdparty;
}