diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php
index db69f9052b8..171f4259a36 100644
--- a/htdocs/modulebuilder/index.php
+++ b/htdocs/modulebuilder/index.php
@@ -1576,7 +1576,8 @@ elseif (! empty($module))
$pathtosql = strtolower($module).'/sql/llx_'.strtolower($module).'_'.strtolower($tabobj).'.sql';
$pathtosqlextra = strtolower($module).'/sql/llx_'.strtolower($module).'_'.strtolower($tabobj).'_extrafields.sql';
$pathtosqlkey = strtolower($module).'/sql/llx_'.strtolower($module).'_'.strtolower($tabobj).'.key.sql';
- $pathtolib = strtolower($module).'/lib/'.strtolower($module).'_'.strtolower($tabobj).'.lib.php';
+ $pathtolib = strtolower($module).'/lib/'.strtolower($module).'.lib.php';
+ $pathtoobjlib = strtolower($module).'/lib/'.strtolower($module).'_'.strtolower($tabobj).'.lib.php';
$pathtopicto = strtolower($module).'/img/object_'.strtolower($tabobj).'.png';
$pathtoscript = strtolower($module).'/scripts/'.strtolower($tabobj).'.php';
@@ -1594,6 +1595,7 @@ elseif (! empty($module))
$realpathtosqlextra = dol_buildpath($pathtosqlextra, 0, 2);
$realpathtosqlkey = dol_buildpath($pathtosqlkey, 0, 2);
$realpathtolib = dol_buildpath($pathtolib, 0, 2);
+ $realpathtoobjlib = dol_buildpath($pathtoobjlib, 0, 2);
$realpathtopicto = dol_buildpath($pathtopicto, 0, 2);
$realpathtoscript = dol_buildpath($pathtoscript, 0, 2);
@@ -1614,6 +1616,9 @@ elseif (! empty($module))
print ' '.$langs->trans("PageForLib").' : '.($realpathtolib?'':'').$pathtolib.($realpathtolib?'':'').'';
print ' '.img_picto($langs->trans("Edit"), 'edit').'';
print '
';
+ print ' '.$langs->trans("PageForObjLib").' : '.($realpathtoobjlib?'':'').$pathtoobjlib.($realpathtoobjlib?'':'').'';
+ print ' '.img_picto($langs->trans("Edit"), 'edit').'';
+ print '
';
print ' '.$langs->trans("Image").' : '.($realpathtopicto?'':'').$pathtopicto.($realpathtopicto?'':'').'';
//print ' '.img_picto($langs->trans("Edit"), 'edit').'';
print '
';