From 134759ce28efa7dca05fc9831621fadbcb5411af Mon Sep 17 00:00:00 2001 From: cla <c.aschieri@19.coop> Date: Thu, 22 Jan 2015 15:02:19 +0100 Subject: [PATCH] update table name facture_fourn_det_extrafields --- htdocs/admin/supplierinvoicedet_extrafields.php | 2 +- .../mysql/tables/llx_facture_fourn_det_extrafields.key.sql | 2 +- .../install/mysql/tables/llx_facture_fourn_det_extrafields.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/admin/supplierinvoicedet_extrafields.php b/htdocs/admin/supplierinvoicedet_extrafields.php index b8525601a61..3596fc50d72 100644 --- a/htdocs/admin/supplierinvoicedet_extrafields.php +++ b/htdocs/admin/supplierinvoicedet_extrafields.php @@ -52,7 +52,7 @@ foreach ($tmptype2label as $key => $val) $type2label[$key]=$langs->trans($val); $action=GETPOST('action', 'alpha'); $attrname=GETPOST('attrname', 'alpha'); -$elementtype='facture_fourndet'; //Must be the $table_element of the class that manage extrafield +$elementtype='facture_fourn_det'; //Must be the $table_element of the class that manage extrafield if (!$user->admin) accessforbidden(); diff --git a/htdocs/install/mysql/tables/llx_facture_fourn_det_extrafields.key.sql b/htdocs/install/mysql/tables/llx_facture_fourn_det_extrafields.key.sql index 11884f7c228..2ba04f4b256 100644 --- a/htdocs/install/mysql/tables/llx_facture_fourn_det_extrafields.key.sql +++ b/htdocs/install/mysql/tables/llx_facture_fourn_det_extrafields.key.sql @@ -17,4 +17,4 @@ -- =================================================================== -ALTER TABLE llx_facture_fourndet_extrafields ADD INDEX idx_facture_fourndet_extrafields (fk_object); +ALTER TABLE llx_facture_fourn_det_extrafields ADD INDEX idx_facture_fourn_det_extrafields (fk_object); diff --git a/htdocs/install/mysql/tables/llx_facture_fourn_det_extrafields.sql b/htdocs/install/mysql/tables/llx_facture_fourn_det_extrafields.sql index 0f0ea67e52f..4faca1a4865 100644 --- a/htdocs/install/mysql/tables/llx_facture_fourn_det_extrafields.sql +++ b/htdocs/install/mysql/tables/llx_facture_fourn_det_extrafields.sql @@ -16,7 +16,7 @@ -- -- ======================================================================== -create table llx_facture_fourndet_extrafields +create table llx_facture_fourn_det_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp, -- GitLab