Skip to content
Snippets Groups Projects
Commit 15aebfb7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1455 from marcosgdf/bug-loadban

Corrected bug when creating document from ODT template
parents 260dfe38 ca0eb791
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ abstract class CommonDocGenerator
function get_substitutionarray_thirdparty($object,$outputlangs)
{
global $conf;
if (empty($object->country) && ! empty($object->country_code))
{
$object->country=$outputlangs->transnoentitiesnoconv("Country".$object->country_code);
......@@ -143,8 +143,6 @@ abstract class CommonDocGenerator
$object->state=getState($object->state_code,0);
}
$object->load_ban();
$array_thirdparty = array(
'company_name'=>$object->name,
'company_email'=>$object->email,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment