Updated method call to new prototype

This commit is contained in:
Raphaël Doursenaud 2013-11-06 10:26:09 +01:00
parent 00c9df670c
commit 81ecb4b4a5

View File

@ -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);
}
}
}