2
0
forked from Wavyzz/dolibarr

Qual: Uniformize constructors

This commit is contained in:
Laurent Destailleur
2011-09-11 18:35:38 +00:00
parent 247c97581a
commit b75d19c264
114 changed files with 3478 additions and 3388 deletions

View File

@@ -239,7 +239,7 @@ function commande_delete_preview($db, $commandeid, $commanderef='')
if (!$commanderef)
{
$com = new Commande($db,"",$commandeid);
$com = new Commande($db);
$com->fetch($commandeid);
$commanderef = $com->ref;
}