noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 185/238: Merge issue : inappropriate rollback


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 185/238: Merge issue : inappropriate rollback
Date: Sat, 26 Oct 2019 04:41:00 -0400 (EDT)

sparkyx pushed a commit to annotated tag rel7110
in repository noalyss.

commit 14f4fd81f1e402b260288aa5efaa5e3ccaf57b3b
Author: Dany De Bontridder <address@hidden>
Date:   Sun Feb 3 16:15:56 2019 +0100

    Merge issue : inappropriate rollback
---
 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 67ba4ff..c7952d3 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_substr(sql_string($value), 0, 40);
+                    $v=mb_strtoupper(mb_substr(sql_string($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=sql_string($value);
+                    $v=mb_strtoupper(sql_string($value));
                     if (trim($v)!='')
                     {
                         if (strpos($v, ',')!=0)



reply via email to

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