Skip to content

Commit

Permalink
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 22, 2019
2 parents a03a8da + 4c4a0b7 commit b4e0c5e
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -396,7 +396,11 @@ function write_file($object,$outputlangs,$srctemplatepath,$hidedetails=0,$hidede
}
}
// Make substitutions into odt of thirdparty
$tmparray=$this->get_substitutionarray_thirdparty($socobject,$outputlangs);
if ($socobject->element == 'contact') {
$tmparray = $this->get_substitutionarray_contact($socobject, $outputlangs);
} else {
$tmparray = $this->get_substitutionarray_thirdparty($socobject, $outputlangs);
}
foreach($tmparray as $key=>$value)
{
try {
Expand Down

0 comments on commit b4e0c5e

Please sign in to comment.