Use of __construct
This commit is contained in:
parent
ca784a6019
commit
c85e15b128
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class Supplier extends Fiche
|
|||
|
||||
/*! \brief Constructor
|
||||
/* only a db connection is needed */
|
||||
function Supplier($p_cn,$p_id=0)
|
||||
function __construct($p_cn,$p_id=0)
|
||||
{
|
||||
$this->fiche_def_ref=FICHE_TYPE_FOURNISSEUR;
|
||||
parent::__construct($p_cn,$p_id) ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue