Now fetch for User class use id like other classes.

This commit is contained in:
Laurent Destailleur
2010-05-05 17:36:20 +00:00
parent b0a065ce02
commit e4bba520f7
22 changed files with 48 additions and 67 deletions

View File

@@ -103,8 +103,7 @@ if ($id > 0 || ! empty($ref))
$soc->fetch($commande->socid);
$author = new User($db);
$author->id = $commande->user_author_id;
$author->fetch();
$author->fetch($commande->user_author_id);
$head = ordersupplier_prepare_head($commande);