noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 04/08: fix bug for too long accounting number


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/08: fix bug for too long accounting number
Date: Fri, 12 Jun 2015 19:40:14 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 1458a721924fd9948be9c015fed279d293a3cc5c
Author: Dany De Bontridder <address@hidden>
Date:   Fri Jun 12 20:44:34 2015 +0200

    fix bug for too long accounting number
---
 include/class_fiche.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/class_fiche.php b/include/class_fiche.php
index c99a4a9..c265cc8 100644
--- a/include/class_fiche.php
+++ b/include/class_fiche.php
@@ -782,7 +782,7 @@ class Fiche
                 // account
                 if ( $id == ATTR_DEF_ACCOUNT )
                 {
-                    $v=sql_string($value);
+                    $v=mb_substr(sql_string($value),0,40);
                     try
                     {
 



reply via email to

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