forked from Wavyzz/dolibarr
Fix: compatibility with php 5.4 and E_STRICT mode
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user