2
0
forked from Wavyzz/dolibarr

Fix: compatibility with php 5.4 and E_STRICT mode

This commit is contained in:
Regis Houssin
2012-04-14 15:04:46 +02:00
parent c876b6f2be
commit e49df57667
124 changed files with 7321 additions and 4541 deletions

View File

@@ -106,10 +106,8 @@ class Commande extends CommonObject
*
* @param DoliDB $db Database handler
*/
function Commande($db)
function __construct($db)
{
global $langs;
$langs->load('orders');
$this->db = $db;
$this->remise = 0;