Merge pull request #4458 from atm-alexis/FIX_bad_pdf_refetch_erase_hook_modification
FIX line refetch incompatible with hook practice
This commit is contained in:
commit
a406334643
@ -254,7 +254,7 @@ class pdf_strato extends ModelePDFContract
|
||||
{
|
||||
$objectligne = $object->lines[$i];
|
||||
|
||||
$valide = $objectligne->id ? $objectligne->fetch($objectligne->id) : 0;
|
||||
$valide = $objectligne->id ? 1 : 0;
|
||||
|
||||
if ($valide > 0 || $object->specimen)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user