Author: danydb
Date: 2013-12-21 01:08:02 +0100 (Sat, 21 Dec 2013)
New Revision: 5607
Modified:
phpcompta/trunk/include/class_supplier.php
Log:
Use of __construct
Modified: phpcompta/trunk/include/class_supplier.php
===================================================================
--- phpcompta/trunk/include/class_supplier.php 2013-12-20 15:50:39 UTC (rev
5606)
+++ phpcompta/trunk/include/class_supplier.php 2013-12-21 00:08:02 UTC (rev
5607)
@@ -46,7 +46,7 @@
/*! \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) ;
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev