Corrected call to non-existing function

This commit is contained in:
Marcos García de La Fuente 2014-03-06 09:02:36 +01:00
parent fa098adc78
commit ca0eb7919e

View File

@ -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,