Merge pull request #22743 from noec764/14_FixAssetsExtraFieldsList

FIX: Wrong extrafields element in assets list
This commit is contained in:
Laurent Destailleur 2022-11-14 22:16:31 +01:00 committed by GitHub
commit 90b44fc184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();