FIX: Wrong Extrafields Element For Assets"

This commit is contained in:
Noé Courtier 2022-11-03 16:46:15 +01:00
parent ff16d74bd2
commit f85b6315fb

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