diff --git a/include/class/document.class.php b/include/class/document.class.php index 87cb4d4f8..adfa92197 100644 --- a/include/class/document.class.php +++ b/include/class/document.class.php @@ -40,6 +40,7 @@ class Document var $f_id; /*!< fiche.f_id */ private $counter; /*!< counter for the items ( goods ) */ var $d_name; /*!< document name */ + var $md_type ; /*!< Type of document */ /*! * @brief Constructor * \param $p_cn Database connection diff --git a/include/class/fiche_def_ref.class.php b/include/class/fiche_def_ref.class.php index 2c3b604d1..b8a5614cb 100644 --- a/include/class/fiche_def_ref.class.php +++ b/include/class/fiche_def_ref.class.php @@ -33,7 +33,7 @@ class Fiche_Def_Ref var $frd_class_base; /*!< fiche_def_ref.frd_class_base */ var $attribut; /*!< array which containing list of attr */ /* it is used with dynamic variables */ - + var $db; /*!< Database connx */ function __construct($p_cn,$p_frd_id=-1) { $this->db=$p_cn;