Merge pull request #22743 from noec764/14_FixAssetsExtraFieldsList
FIX: Wrong extrafields element in assets list
This commit is contained in:
commit
90b44fc184
@ -41,7 +41,7 @@ foreach ($tmptype2label as $key => $val) {
|
||||
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
$attrname = GETPOST('attrname', 'alpha');
|
||||
$elementtype = 'don'; //Must be the $table_element of the class that manage extrafield
|
||||
$elementtype = 'asset'; //Must be the $table_element of the class that manage extrafield
|
||||
|
||||
if (!$user->admin) {
|
||||
accessforbidden();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user