Browse Source

Fix: [ bug #1365 ] ODT template tag {company_note} does not get
replaced.

Laurent Destailleur 11 years ago
parent
commit
e214cdf231
1 changed files with 4 additions and 1 deletions
  1. 4 1
      htdocs/core/class/commondocgenerator.class.php

+ 4 - 1
htdocs/core/class/commondocgenerator.class.php

@@ -119,7 +119,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,
         );
     }