diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index ddc0979649b0ecfcb7fe0aacb2186ae9f354c4fb..4ec715e0d58a9336881c0f60b2cc116792cd9f27 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -532,6 +532,7 @@ class FormFile } if ($morepicto) { + $morepicto=preg_replace('/__FILENAMEURLENCODED__/',urlencode($relativepath),$morepicto); $out.=$morepicto; } $out.='</td>';