From 81ecb4b4a535059ed151b24b21b7193d885114f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Wed, 6 Nov 2013 10:26:09 +0100 Subject: [PATCH] Updated method call to new prototype --- htdocs/core/tpl/document_actions_pre_headers.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/tpl/document_actions_pre_headers.tpl.php b/htdocs/core/tpl/document_actions_pre_headers.tpl.php index 56567de96f1..18b7c18c4a5 100644 --- a/htdocs/core/tpl/document_actions_pre_headers.tpl.php +++ b/htdocs/core/tpl/document_actions_pre_headers.tpl.php @@ -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); } } }