mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
FIX line is refetch (and seems useless) unless it was modified by the hook previous calling
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user