Update workstation_agenda.php
This commit is contained in:
parent
cc4bb9b40f
commit
a8451336f0
@ -53,6 +53,7 @@ if (GETPOST('actioncode', 'array')) {
|
||||
|
||||
$search_agenda_label = GETPOST('search_agenda_label');
|
||||
|
||||
// Load variables for pagination
|
||||
$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit;
|
||||
$sortfield = GETPOST('sortfield', 'aZ09comma');
|
||||
$sortorder = GETPOST('sortorder', 'aZ09comma');
|
||||
@ -85,6 +86,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
$upload_dir = $conf->workstation->multidir_output[$object->entity]."/".$object->id;
|
||||
}
|
||||
|
||||
// Permissions
|
||||
$permissiontoadd = $user->rights->workstation->workstation->write; // Used by the include of actions_addupdatedelete.inc.php
|
||||
|
||||
// Security check
|
||||
|
||||
Loading…
Reference in New Issue
Block a user