mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 10:52:37 +01:00
Now fetch for User class use id like other classes.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user