mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update skill_extrafields.php
This commit is contained in:
parent
cc4bb9b40f
commit
733a7d2c81
|
|
@ -21,9 +21,9 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* \file admin/skill_extrafields.php
|
||||
* \ingroup hrm
|
||||
* \brief Page to setup extra fields of hrm
|
||||
* \file htdocs/hrm/admin/skill_extrafields.php
|
||||
* \ingroup hrm
|
||||
* \brief Page to setup extra fields of hrm skills
|
||||
*/
|
||||
|
||||
// Load Dolibarr environment
|
||||
|
|
@ -48,6 +48,7 @@ $action = GETPOST('action', 'aZ09');
|
|||
$attrname = GETPOST('attrname', 'alpha');
|
||||
$elementtype = 'hrm_skill'; //Must be the $table_element of the class that manage extrafield
|
||||
|
||||
// Security check
|
||||
if (!$user->admin) {
|
||||
accessforbidden();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user