[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/04: Task #1256 - Créer une balise pour "L
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/04: Task #1256 - Créer une balise pour "Libellé de paiement" du 1er écran de saisie des ventes #1256 : fix bug , get unknown tag is the special tag rows is greater than the number of items |
Date: |
Thu, 21 Jan 2016 09:14:21 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit a5b75843e00215999fc19b5f8a09011cdec95acd
Author: Dany De Bontridder <address@hidden>
Date: Thu Jan 14 12:54:51 2016 +0100
Task #1256 - Créer une balise pour "Libellé de paiement" du 1er écran de
saisie des ventes
#1256 : fix bug , get unknown tag is the special tag rows is greater than
the number of items
---
include/class/class_document.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/class/class_document.php b/include/class/class_document.php
index aef0228..fc07e28 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'];