From 84a6def3b066a2fdbded0e01927a55775b259197 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 24 Feb 2010 14:54:15 +0000 Subject: [PATCH] Fix: Limit of RCS too small --- htdocs/societe.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index 0c3c29181fc..fb99aca8536 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -2021,13 +2021,13 @@ class Societe extends CommonObject { global $langs; - $formlength=16; + $formlength=24; if ($this->pays_code == 'FR') { if ($idprof==1) $formlength=9; if ($idprof==2) $formlength=14; if ($idprof==3) $formlength=5; // 4 chiffres et 1 lettre depuis janvier - if ($idprof==4) $formlength=12; + if ($idprof==4) $formlength=32; // No maximum as we need to include a town name in this id } $selected=$preselected; if (! $selected && $idprof==1) $selected=$this->siren;