Fix for #14239
Message: Error: Method printObjectLine was called on an object and object->fetch_thirdparty was not done before
This commit is contained in:
parent
b6fc33c454
commit
d789aaad7f
@ -1863,6 +1863,7 @@ if ($action == 'create' && $usercancreate)
|
||||
$author = new User($db);
|
||||
$author->fetch($object->user_author_id);
|
||||
|
||||
$object->fetch_thirdparty();
|
||||
$res = $object->fetch_optionals();
|
||||
|
||||
$head = commande_prepare_head($object);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user