forked from Wavyzz/dolibarr
translations
This commit is contained in:
committed by
Raphaël Doursenaud
parent
b625b1843e
commit
b158e8bb74
@@ -1060,10 +1060,11 @@ function dol_add_file_process($upload_dir, $allowoverwrite=0, $donotupdatesessio
|
||||
$linkObject = new Link($db);
|
||||
$linkObject->entity = $conf->entity;
|
||||
$linkObject->url = $link;
|
||||
$linkObject->objecttype = GETPOST('objecttype', 'alpha');
|
||||
$linkObject->objectid = GETPOST('objectid', 'int');
|
||||
$linkObject->label = GETPOST('label', 'alpha');
|
||||
$linkObject->objecttype = GETPOST('objecttype', 'alpha');
|
||||
$linkObject->objectid = GETPOST('objectid', 'int');
|
||||
$linkObject->label = GETPOST('label', 'alpha');
|
||||
$res = $linkObject->create($user);
|
||||
$langs->load('link');
|
||||
if ($res > 0) {
|
||||
setEventMessage($langs->trans("LinkComplete"));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user