diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 8b954cc3d3a..2e58c845e6b 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -394,7 +394,7 @@ class FormFile
$reshook = 0;
if (is_object($hookmanager)) {
$parameters = array(
- 'modulepart'=>&$modulepart,
+ 'modulepart'=>&$modulepart,
'modulesubdir'=>&$modulesubdir,
'filedir'=>&$filedir,
'urlsource'=>&$urlsource,