Merge pull request #22200 from dolibit-ut/patch-570
Update job_agenda.php
This commit is contained in:
commit
02cbe9f794
@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file job_agenda.php
|
* \file htdocs/hrm/job_agenda.php
|
||||||
* \ingroup hrm
|
* \ingroup hrm
|
||||||
* \brief Tab of events on Job
|
* \brief Tab of events on Job
|
||||||
*/
|
*/
|
||||||
@ -37,7 +37,7 @@ require_once DOL_DOCUMENT_ROOT . '/hrm/lib/hrm_job.lib.php';
|
|||||||
|
|
||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array("hrm", "other"));
|
$langs->loadLangs(array('hrm', 'other'));
|
||||||
|
|
||||||
// Get parameters
|
// Get parameters
|
||||||
$id = GETPOST('id', 'int');
|
$id = GETPOST('id', 'int');
|
||||||
@ -87,6 +87,7 @@ if ($id > 0 || !empty($ref)) {
|
|||||||
$upload_dir = $conf->hrm->multidir_output[$object->entity]."/".$object->id;
|
$upload_dir = $conf->hrm->multidir_output[$object->entity]."/".$object->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Permissions
|
||||||
$permissiontoread = $user->rights->hrm->all->read;
|
$permissiontoread = $user->rights->hrm->all->read;
|
||||||
$permissiontoadd = $user->rights->hrm->all->write; // Used by the include of actions_addupdatedelete.inc.php
|
$permissiontoadd = $user->rights->hrm->all->write; // Used by the include of actions_addupdatedelete.inc.php
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user