Merge pull request #14975 from code-chicken/patch-9
Fix for #14239 / Method printObjectLine was called on an object and object->fetch_thirdparty was not done before
This commit is contained in:
commit
501adf8151
@ -1863,6 +1863,7 @@ if ($action == 'create' && $usercancreate)
|
|||||||
$author = new User($db);
|
$author = new User($db);
|
||||||
$author->fetch($object->user_author_id);
|
$author->fetch($object->user_author_id);
|
||||||
|
|
||||||
|
$object->fetch_thirdparty();
|
||||||
$res = $object->fetch_optionals();
|
$res = $object->fetch_optionals();
|
||||||
|
|
||||||
$head = commande_prepare_head($object);
|
$head = commande_prepare_head($object);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user