From 6dca2e6bf0ea7d4124249c42e254f13a9280a562 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 4 Feb 2024 16:28:57 +0100 Subject: [PATCH] Debug v19 --- htdocs/modulebuilder/template/myobject_document.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/htdocs/modulebuilder/template/myobject_document.php b/htdocs/modulebuilder/template/myobject_document.php index 6a891511801..5c36a559723 100644 --- a/htdocs/modulebuilder/template/myobject_document.php +++ b/htdocs/modulebuilder/template/myobject_document.php @@ -251,12 +251,7 @@ print ''; 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).'/';