From 95ec0d99c8a3b4ecdd06e1d7ae109e35adcd9330 Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Fri, 6 Apr 2012 15:12:30 +0000 Subject: [PATCH] [-] PDF : Bug Fixed #PSFV-800 - Invoice free text is not displayed --- classes/pdf/HTMLTemplate.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/pdf/HTMLTemplate.php b/classes/pdf/HTMLTemplate.php index c59c6c03f..c243d88a8 100755 --- a/classes/pdf/HTMLTemplate.php +++ b/classes/pdf/HTMLTemplate.php @@ -66,14 +66,13 @@ abstract class HTMLTemplateCore public function getFooter() { $shop_address = $this->getShopAddress(); - $this->smarty->assign(array( 'available_in_your_account' => $this->available_in_your_account, 'shop_address' => $shop_address, 'shop_fax' => Configuration::get('PS_SHOP_FAX'), 'shop_phone' => Configuration::get('PS_SHOP_PHONE'), 'shop_details' => Configuration::get('PS_SHOP_DETAILS'), - 'free_text' => Configuration::get('PS_INVOICE_FREE_TEXT') + 'free_text' => Configuration::get('PS_INVOICE_FREE_TEXT', (int)Context::getContext()->language->id) )); return $this->smarty->fetch($this->getTemplate('footer'));