FIX line is refetch (and seems useless) unless it was modified by the hook previous calling
This commit is contained in:
parent
6eb6b0315f
commit
48d674578b
@ -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