2
0
forked from Wavyzz/dolibarr

Fix regression in online signature

This commit is contained in:
Laurent Destailleur
2022-08-14 20:45:04 +02:00
4 changed files with 39 additions and 34 deletions

View File

@@ -1032,7 +1032,8 @@ abstract class CommonObject
// Add entry into index
if ($initsharekey) {
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
// TODO We can't, we dont' have full path of file, only last_main_doc adn ->element, so we must rebuild full path first
// TODO We can't, we dont' have full path of file, only last_main_doc and ->element, so we must first rebuild full path $destfull
/*
$ecmfile->filepath = $rel_dir;
$ecmfile->filename = $filename;