FIX: Wrong Extrafields Element For Assets"
This commit is contained in:
parent
ff16d74bd2
commit
f85b6315fb
@ -41,7 +41,7 @@ foreach ($tmptype2label as $key => $val) {
|
|||||||
|
|
||||||
$action = GETPOST('action', 'aZ09');
|
$action = GETPOST('action', 'aZ09');
|
||||||
$attrname = GETPOST('attrname', 'alpha');
|
$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) {
|
if (!$user->admin) {
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user