diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index 03a5154f23f..2340657ef4e 100644 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -55,6 +55,11 @@ abstract class CommonDocGenerator */ public $extrafieldsCache; + /** + * @var int If set to 1, save the fullname of generated file with path as the main doc when generating a doc with this template. + */ + public $update_main_doc_field; + /** * Constructor *