Fix error on module builder delete of a property
This commit is contained in:
parent
475bdc24f4
commit
fdb5b3b3da
@ -1296,6 +1296,9 @@ if ($dirins && $action == 'addproperty' && !empty($module) && !empty($tabobj)) {
|
||||
if ($dirins && $action == 'confirm_deleteproperty' && $propertykey) {
|
||||
$objectname = $tabobj;
|
||||
|
||||
$dirins = $dirread = $listofmodules[strtolower($module)]['moduledescriptorrootpath'];
|
||||
$moduletype = $listofmodules[strtolower($module)]['moduletype'];
|
||||
|
||||
$srcdir = $dirread.'/'.strtolower($module);
|
||||
$destdir = $dirins.'/'.strtolower($module);
|
||||
dol_mkdir($destdir);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user