From 3abede630bf86f2703ba229c747f2535f9964036 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 6 May 2014 23:35:09 +0200 Subject: [PATCH] Fix: [ bug #1365 ] ODT template tag {company_note} does not get replaced. --- htdocs/core/class/commondocgenerator.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index f636831952c..12348afbeaf 100644 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -118,7 +118,10 @@ abstract class CommonDocGenerator 'mycompany_idprof5'=>$mysoc->idprof5, 'mycompany_idprof6'=>$mysoc->idprof6, 'mycompany_vatnumber'=>$mysoc->tva_intra, - 'mycompany_note'=>$mysoc->note + // Only private not exists for "mysoc" + 'mycompany_note'=>$mysoc->note_private + //'mycompany_note_private'=>$mysoc->note_private, + //'mycompany_note_public'=>$mysoc->note_public, ); }