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:
Laurent Destailleur 2020-10-09 13:58:42 +02:00 committed by GitHub
commit 501adf8151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);