Merge pull request #12715 from atm-john/10.0_fix_document_module_call
Fix document module call
This commit is contained in:
commit
c065afd985
@ -675,7 +675,10 @@ class FormFile
|
||||
else
|
||||
{
|
||||
$tmp=explode(':', $modulepart);
|
||||
if (! empty($tmp[2])) $submodulepart=$tmp[2];
|
||||
if (! empty($tmp[1])){
|
||||
$modulepart=$tmp[0];
|
||||
$submodulepart=$tmp[1];
|
||||
}
|
||||
$file=dol_buildpath('/'.$modulepart.'/core/modules/'.$modulepart.'/modules_'.$submodulepart.'.php', 0);
|
||||
$res=include_once $file;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user