diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php
index 970d4841fbf..e6b7dd9ce82 100644
--- a/htdocs/modulebuilder/index.php
+++ b/htdocs/modulebuilder/index.php
@@ -668,8 +668,9 @@ if ($dirins && $action == 'initobject' && $module && $objectname)
'lib/mymodule_myobject.lib.php'=>'lib/'.strtolower($module).'_'.strtolower($objectname).'.lib.php',
//'test/phpunit/MyObjectTest.php'=>'test/phpunit/'.strtolower($objectname).'Test.php',
'sql/llx_mymodule_myobject.sql'=>'sql/llx_'.strtolower($module).'_'.strtolower($objectname).'.sql',
- 'sql/llx_mymodule_myobject_extrafields.sql'=>'sql/llx_'.strtolower($module).'_'.strtolower($objectname).'_extrafields.sql',
'sql/llx_mymodule_myobject.key.sql'=>'sql/llx_'.strtolower($module).'_'.strtolower($objectname).'.key.sql',
+ 'sql/llx_mymodule_myobject_extrafields.sql'=>'sql/llx_'.strtolower($module).'_'.strtolower($objectname).'_extrafields.sql',
+ 'sql/llx_mymodule_myobject_extrafields.key.sql'=>'sql/llx_'.strtolower($module).'_'.strtolower($objectname).'_extrafields.key.sql',
//'scripts/mymodule.php'=>'scripts/'.strtolower($objectname).'.php',
'img/object_myobject.png'=>'img/object_'.strtolower($objectname).'.png',
'class/myobject.class.php'=>'class/'.strtolower($objectname).'.class.php',
@@ -2031,6 +2032,10 @@ elseif (! empty($module))
print ' '.$langs->trans("DropTableIfEmpty").'';
//print ' '.$langs->trans("RunSql").'';
print '
';
+ print ' '.$langs->trans("SqlFileKey").' : '.($realpathtosqlkey?'':'').$pathtosqlkey.($realpathtosqlkey?'':'').'';
+ print ' '.img_picto($langs->trans("Edit"), 'edit').'';
+ //print ' '.$langs->trans("RunSql").'';
+ print '
';
print ' '.$langs->trans("SqlFileExtraFields").' : '.($realpathtosqlextra?'':'').$pathtosqlextra.($realpathtosqlextra?'':'').'';
if ($realpathtosqlextra)
{
@@ -2045,10 +2050,6 @@ elseif (! empty($module))
}
//print ' '.$langs->trans("RunSql").'';
print '
';
- print ' '.$langs->trans("SqlFileKey").' : '.($realpathtosqlkey?'':'').$pathtosqlkey.($realpathtosqlkey?'':'').'';
- print ' '.img_picto($langs->trans("Edit"), 'edit').'';
- //print ' '.$langs->trans("RunSql").'';
- print '
';
print ' '.$langs->trans("SqlFileKeyExtraFields").' : '.($realpathtosqlextrakey?'':'').$pathtosqlextrakey.($realpathtosqlextrakey?'':'').'';
if ($realpathtosqlextrakey)
{