mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 11:15:21 +01:00
Now fetch for User class use id like other classes.
This commit is contained in:
@@ -134,9 +134,8 @@ if ($id > 0 || ! empty($ref))
|
||||
$soc = new Societe($db);
|
||||
$soc->fetch($commande->socid);
|
||||
|
||||
$author = new User($db);
|
||||
$author->id = $commande->user_author_id;
|
||||
$author->fetch();
|
||||
$author = new User($db);
|
||||
$author->fetch($commande->user_author_id);
|
||||
|
||||
$head = ordersupplier_prepare_head($commande);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user