Merge pull request #17199 from Hystepik/develop#3
Fix error on module builder delete of a property
This commit is contained in:
commit
e028195769
@ -1296,6 +1296,9 @@ if ($dirins && $action == 'addproperty' && empty($cancel) && !empty($module) &&
|
||||
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