From f4166de7045cae6cf3354d3965c90221f727d74c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 6 Oct 2023 16:21:39 +0200 Subject: [PATCH] Fix warning --- htdocs/core/class/html.form.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index bf50f09ea52..bf3f9e378c1 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -9804,8 +9804,6 @@ class Form $ret .= ''; $ret .= ''; } - } else { - dol_print_error('', 'Call of showphoto with wrong parameters modulepart=' . $modulepart); } return $ret;