Debug v19

This commit is contained in:
Laurent Destailleur 2024-02-04 16:28:57 +01:00
parent 24a8c2e66a
commit 6b73cdeac7

View file

@ -251,12 +251,7 @@ print '</div>';
print dol_get_fiche_end();
$modulepart = 'mymodule';
//$permissiontoadd = $user->hasRight('mymodule', 'myobject', 'write');
$permissiontoadd = 1;
//$permtoedit = $user->hasRight('mymodule', 'myobject', 'write');
$permtoedit = 1;
$param = '&id='.$object->id;
//$relativepathwithnofile='myobject/' . dol_sanitizeFileName($object->id).'/';
$relativepathwithnofile = 'myobject/'.dol_sanitizeFileName($object->ref).'/';