[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 24/27: Fix Inappropriate merge
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 24/27: Fix Inappropriate merge |
Date: |
Sat, 11 Jul 2020 13:25:22 -0400 (EDT) |
sparkyx pushed a commit to annotated tag E-8000
in repository noalyss.
commit 474b5425abab03a05e4830f71195863679d2f396
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: 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] 03/27: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, (continued)
- [Noalyss-commit] [noalyss] 03/27: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 04/27: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 06/27: translation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 07/27: Mantis #0001688: Affichage centime dans l'écran de confirmation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 11/27: Mantis #0001682: CA - ajouter possibilité d'exporter le plan analytique, missing file, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 05/27: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 10/27: Mantis #0001682: CA - ajouter possibilité d'exporter le plan analytique, add action CSV:Analytic_Axis, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 15/27: Mantis #1643: Déplacement du "bouton" «retour en-haut/calculatrice», Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 18/27: Mantis #0001614: Problème bilans , changement pour bilan ASBL, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 23/27: Merge issue : inappropriate rollback, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 24/27: Fix Inappropriate merge,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 25/27: Wrong merge broke fiche.class.php, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 26/27: Fix broken merge, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 27/27: Fiche.clasS.php fix broken merge, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 08/27: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 09/27: Mantis #0001666: Export CSV depuis histo ne filtre pas par journal, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 12/27: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 14/27: Mantis #1626: AFFICHAGE BALANCE FICHE - soldes nuls au débit, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 13/27: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Use base64_decode to protect the string in serialize, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 16/27: Mantis #1665: Pouvoir modifier l'ordre dans les listing de compta analytique, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 17/27: Mantis #1596: Dans le plan comptable, fiches non cliquables Les fiches sont cliquable dans Plan Comptable , PCMNCFG et dans la liste des postes, en plus on peut obtenir toutes les fiches d'un poste, Dany De Bontridder, 2020/07/11