Fix bad parameters of function
This commit is contained in:
parent
949e0f2326
commit
7daef0d146
@ -75,5 +75,10 @@ if (($action == 'set') && !empty($id)) {
|
|||||||
$triggerkey = 'COMPANY_UPDATE';
|
$triggerkey = 'COMPANY_UPDATE';
|
||||||
}
|
}
|
||||||
|
|
||||||
$object->setValueFrom($field, $value, $element, $id, $user, $triggerkey);
|
$tablename = $element;
|
||||||
|
if ($tablename == 'websitepage') $tablename = 'website_page';
|
||||||
|
|
||||||
|
$format = 'int';
|
||||||
|
|
||||||
|
$object->setValueFrom($field, $value, $tablename, $id, $format, '', $user, $triggerkey);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user