From 92d6a056abd451ab99d4db63aac4b63ea5cffce9 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 11 Apr 2011 07:21:24 +0000 Subject: [PATCH] Fix: optimize code Fix: better function name --- htdocs/commande/fiche.php | 2 +- htdocs/compta/facture.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index fced62b1979..6cdd5642532 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1783,7 +1783,7 @@ else print ''; // Show object lines - if (! empty($object->lines)) $object->printObjectLines(0,$mysoc,$soc); + if (! empty($object->lines)) $object->printObjectLines(1,$mysoc,$soc); /* * Form to add new line diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index a1ac40d7a62..4d152cb17fb 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2534,7 +2534,7 @@ else print '
'; // Show object lines - if (! empty($object->lines)) $object->printObjectLines(0,$mysoc,$soc); + if (! empty($object->lines)) $object->printObjectLines(1,$mysoc,$soc); /* * Form to add new line