From ca0eb7919e8a82ed532105eb898fcd1a690e7374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Thu, 6 Mar 2014 09:02:36 +0100 Subject: [PATCH] Corrected call to non-existing function --- htdocs/core/class/commondocgenerator.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index 581ce0e7114..40a62663e55 100644 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -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,