[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 186/218: Fix Inappropriate merge
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 186/218: Fix Inappropriate merge |
Date: |
Thu, 12 Sep 2019 15:59:06 -0400 (EDT) |
sparkyx pushed a commit to branch entreprise
in repository noalyss.
commit 474b5425abab03a05e4830f71195863679d2f396
Author: Dany De Bontridder <address@hidden>
Date: Sun Feb 3 16:34:09 2019 +0100
Fix Inappropriate merge
---
include/class/fiche.class.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index c7952d3..c3c34ae 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -806,7 +806,7 @@ class Fiche
// account
if ($id==ATTR_DEF_ACCOUNT)
{
- $v=mb_strtoupper(mb_substr(sql_string($value), 0, 40));
+ $v=mb_strtoupper(mb_substr($value, 0, 40));
try
{
// Check that the accounting can be used directly
@@ -955,7 +955,7 @@ class Fiche
// account
if ($id==ATTR_DEF_ACCOUNT)
{
- $v=mb_strtoupper(sql_string($value));
+ $v=mb_strtoupper(mb_substr($value,0,40));
if (trim($v)!='')
{
if (strpos($v, ',')!=0)
@@ -1993,10 +1993,10 @@ class Fiche
// Remove from attr_value
$Res=$this->cn->exec_sql("delete from fiche_detail
where
- f_id=".$this->id);
+ f_id=$1",[$this->id]);
// Remove from fiche
- $Res=$this->cn->exec_sql("delete from fiche where f_id=".$this->id);
+ $Res=$this->cn->exec_sql("delete from fiche where
f_id=$1",[$this->id]);
}
/*!\brief create the sql statement for retrieving all
- [Noalyss-commit] [noalyss] 158/218: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, (continued)
- [Noalyss-commit] [noalyss] 158/218: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 160/218: Protect parameters, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 167/218: Currency : set default accounting for change difference when using currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 165/218: Database upgrade, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 168/218: translation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 169/218: Mantis #0001688: Affichage centime dans l'écran de confirmation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 176/218: Mantis #1626: AFFICHAGE BALANCE FICHE - soldes nuls au débit, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 177/218: Mantis #1643: Déplacement du "bouton" «retour en-haut/calculatrice», Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 184/218: CSS : cosmetic, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 185/218: Merge issue : inappropriate rollback, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 186/218: Fix Inappropriate merge,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 188/218: Fix broken merge, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 181/218: Mantis #1611: Problème Plan comptable - mise en évidence poste utilisés, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 198/218: Merge branch 'entreprise' of gitlab.noalyss.eu:noalyss/noalyss into entreprise, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 200/218: Merge branch 'master' into entreprise, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 212/218: Periode : when searching for a ledger , you can set a periode, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 209/218: PDFLand has now his own file, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 210/218: Data_SQL database connexion private, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 216/218: Version set to 7.1, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 202/218: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 162/218: Currency - fix view, Dany De Bontridder, 2019/09/12