From a5b75843e00215999fc19b5f8a09011cdec95acd Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 14 Jan 2016 12:54:51 +0100 Subject: [PATCH] =?UTF-8?q?Task=20#1256=20-=20Cr=C3=A9er=20une=20balise=20?= =?UTF-8?q?pour=20"Libell=C3=A9=20de=20paiement"=20du=201er=20=C3=A9cran?= =?UTF-8?q?=20de=20saisie=20des=20ventes=20#1256=20:=20fix=20bug=20,=20get?= =?UTF-8?q?=20unknown=20tag=20is=20the=20special=20tag=20rows=20is=20great?= =?UTF-8?q?er=20than=20the=20number=20of=20items?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/class/class_document.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/class/class_document.php b/include/class/class_document.php index aef02285f..fc07e2868 100644 --- a/include/class/class_document.php +++ b/include/class/class_document.php @@ -1180,6 +1180,7 @@ class Document */ if (preg_match('/^ATTR/', $p_tag) == 1) { + $r=""; // Retrieve f_id if ( isset ($p_array['e_march'.$this->counter])) { @@ -1192,12 +1193,14 @@ class Document */ if (preg_match('/^BENEFATTR/', $p_tag) == 1) { + $r=""; $qcode=isset($p_array['qcode_benef'])?$p_array['qcode_benef']:''; // Retrieve f_id $r=$this->replace_special_tag($qcode,$p_tag); } if (preg_match('/^CUSTATTR/', $p_tag) == 1) { + $r=""; if ( isset($p_array['qcode_dest']) || isset($p_array['e_client']) ) { $qcode=(isset($p_array['qcode_dest']))?$p_array['qcode_dest']:$p_array['e_client'];