From ef890a29ebc51c1c228808585c5b5305b414dc42 Mon Sep 17 00:00:00 2001 From: bahfir abbes Date: Fri, 24 Apr 2020 16:26:48 +0100 Subject: [PATCH] =?UTF-8?q?fix:Le=20label=20doit=20=C3=AAtre=20une=20cl?= =?UTF-8?q?=C3=A9=20de=20dictionnaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/modulebuilder/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index 2209dbf92d4..956ceb0cfd3 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -711,7 +711,7 @@ if ($dirins && $action == 'initobject' && $module && GETPOST('createtablearray', $notnull = ($obj->Null == 'YES' ? 0 : 1); if ($fieldname == 'fk_user_modif') $notnull = -1; // label - $label = preg_replace('/_/', ' ', ucfirst($fieldname)); + $label = $fieldname; if ($fieldname == 'rowid') $label = 'TechnicalID'; if ($fieldname == 'import_key') $label = 'ImportId'; if ($fieldname == 'fk_soc') $label = 'ThirdParty';