[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
{
- [Noalyss-commit] [noalyss] branch master updated (8a31fb3 -> 7ed39ae), Dany De Bontridder, 2015/06/12
- [Noalyss-commit] [noalyss] 01/08: documentation, Dany De Bontridder, 2015/06/12
- [Noalyss-commit] [noalyss] 02/08: fix bug for too long accounting number, Dany De Bontridder, 2015/06/12
- [Noalyss-commit] [noalyss] 04/08: fix bug for too long accounting number,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/08: typo profile -> profil, Dany De Bontridder, 2015/06/12
- [Noalyss-commit] [noalyss] 08/08: Ajout PJ pour opérations diverses + correction procédure de sauvegarde, Dany De Bontridder, 2015/06/12
- [Noalyss-commit] [noalyss] 06/08: recover password, Dany De Bontridder, 2015/06/12
- [Noalyss-commit] [noalyss] 07/08: Ajout PJ pour opérations diverses + correction procédure de sauvegarde, Dany De Bontridder, 2015/06/12
- [Noalyss-commit] [noalyss] 03/08: Traduction, Dany De Bontridder, 2015/06/12