@@ -73,7 +73,7 @@ $upload_dir = $conf->adherent->dir_output."/".get_exdir(0, 0, 0, 1, $object, 'me
* Actions
*/
-include_once DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
+include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
/*
@@ -81,7 +81,7 @@ if ($id > 0 || !empty($ref)) $upload_dir = $conf->sellyoursaas->multidir_output[
@@ -76,7 +76,7 @@ if ($id > 0 || !empty($ref)) $upload_dir = $conf->bom->multidir_output[$object->
@@ -80,7 +80,7 @@ $modulepart = 'actions';
@@ -80,7 +80,7 @@ if ($object->id > 0)
{
$object->fetch_thirdparty();
$upload_dir = $conf->propal->multidir_output[$object->entity].'/'.dol_sanitizeFileName($object->ref);
- include_once DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
+ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
}
@@ -80,7 +80,7 @@ if ($object->fetch($id))
$upload_dir = $conf->commande->multidir_output[$object->entity]."/".dol_sanitizeFileName($object->ref);
@@ -133,7 +133,7 @@ if (!empty($numref))
$upload_dir = $conf->bank->dir_output."/".$id."/statement/".dol_sanitizeFileName($numref);
$backtopage = $_SERVER['PHP_SELF']."?account=".$id."&num=".$numref;
@@ -77,7 +77,7 @@ if ($object->id > 0)
$upload_dir = $conf->bank->dir_output."/".dol_sanitizeFileName($object->ref);
@@ -66,7 +66,7 @@ $modulepart = 'banque';
@@ -71,7 +71,7 @@ $modulepart = 'trip';
@@ -79,7 +79,7 @@ if ($object->fetch($id))
-require_once DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
@@ -77,7 +77,7 @@ $modulepart = 'tax';
if ($action == 'setlib' && $user->rights->tax->charges->creer)
@@ -78,7 +78,7 @@ $modulepart = 'tax-vat';
@@ -85,7 +85,7 @@ $hookmanager->initHooks(array('contractcard', 'globalcard'));
@@ -78,7 +78,7 @@ $modulepart = 'don';
if ($action == 'classin' && $user->rights->don->creer)
@@ -76,7 +76,7 @@ if ($object->fetch($id))
$upload_dir = $conf->expedition->dir_output."/sending/".dol_sanitizeFileName($object->ref);
@@ -75,7 +75,7 @@ $modulepart = 'fichinter';
@@ -78,7 +78,7 @@ $object->fetch_thirdparty();
@@ -74,7 +74,7 @@ if ($object->fetch($id, $ref))
@@ -72,7 +72,7 @@ $modulepart = 'holiday';
@@ -68,7 +68,7 @@ $modulepart = 'loan';
@@ -121,7 +121,7 @@ $permissiontoadd = $user->rights->mymodule->myobject->write; // Used by the incl
@@ -80,7 +80,7 @@ $result = restrictedArea($user, 'mrp', $object->id, 'mrp_mo', '', 'fk_soc', 'row
@@ -115,7 +115,7 @@ if (empty($reshook))
// Action submit/delete file/link
if ($action == 'filemerge')
@@ -94,7 +94,7 @@ if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'e
if (empty($reshook))
$permtoedit = $user->rights->produit->creer;
@@ -76,7 +76,7 @@ if (!$sortfield) $sortfield = "name";
@@ -106,7 +106,7 @@ if ($id > 0 || !empty($ref))
@@ -92,7 +92,7 @@ $permissiontoadd = $user->rights->recruitment->recruitmentjobposition->write; //
@@ -72,7 +72,7 @@ $modulepart = 'resource';
@@ -73,7 +73,7 @@ $modulepart = 'salaries';
@@ -81,7 +81,7 @@ $hookmanager->initHooks(array('thirdpartydocument', 'globalcard'));
@@ -69,7 +69,7 @@ if ($object->id > 0)
$upload_dir = $conf->supplier_proposal->dir_output.'/'.dol_sanitizeFileName($object->ref);
@@ -73,7 +73,7 @@ if ($result < 0) {
@@ -106,7 +106,7 @@ $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
if (empty($reshook)) {
@@ -113,7 +113,7 @@ $permissiontoadd = $user->rights->workstation->workstation->write; // Used by th
@@ -78,7 +78,7 @@ if ($id > 0 || !empty($ref)) $upload_dir = $conf->sellyoursaas->multidir_output[