Updated method call to new prototype
This commit is contained in:
parent
00c9df670c
commit
81ecb4b4a5
@ -29,7 +29,7 @@ if (GETPOST('sendit') && ! empty($conf->global->MAIN_UPLOAD_DOC)) {
|
||||
if (substr($link, 0, 7) != 'http://' && substr($link, 0, 8) != 'https://') {
|
||||
$link = 'http://' . $link;
|
||||
}
|
||||
dol_add_file_process($upload_dir, 0, 1, 'userfile', $link);
|
||||
dol_add_file_process($upload_dir, 0, 1, 'userfile', null, $link);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user