noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 16/16: Bug merge


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 16/16: Bug merge
Date: Sun, 3 Feb 2019 14:38:42 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit f39d9caec9164c5562819eec2dc9e6e9fd59e072
Author: Dany De Bontridder <address@hidden>
Date:   Sun Feb 3 16:34:09 2019 +0100

    Bug merge
---
 include/class/fiche.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 96b8bce..2e8eb33 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -805,7 +805,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
@@ -954,7 +954,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)!='')
                     {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]