diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 533472e5acd..62f001622c7 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -146,7 +146,7 @@ class FormFile
{
print $out;
}
- print $hookmanager->resprint;
+ print $hookmanager->resPrint;
return 1;
}