From ba434617dcf268f48d7ae4c0ea3d2edfcdd0a939 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 23 Oct 2017 14:44:06 +0200 Subject: [PATCH] FIX Missing function getLinesArray --- htdocs/contrat/class/contrat.class.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php index ca8d6fc9ddb..6885e766603 100644 --- a/htdocs/contrat/class/contrat.class.php +++ b/htdocs/contrat/class/contrat.class.php @@ -2255,6 +2255,16 @@ class Contrat extends CommonObject } } + /** + * Create an array of order lines + * + * @return int >0 if OK, <0 if KO + */ + function getLinesArray() + { + return $this->fetch_lines(); + } + /** * Create a document onto disk according to template module. *