From 420a3a73dd3fc65e03179baf885c53125056f2f0 Mon Sep 17 00:00:00 2001 From: Damien BENOIT <48482664+Givriz@users.noreply.github.com> Date: Thu, 11 Mar 2021 18:15:22 +0100 Subject: [PATCH] Update html.form.class.php --- htdocs/core/class/html.form.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 05495f527c7..3d208d80eb2 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -7896,6 +7896,7 @@ class Form } // Preparing gender's display if there is one + $addgendertxt = ''; if ($object->gender) { $addgendertxt = ' '; switch ($object->gender) { @@ -7909,7 +7910,7 @@ class Form $addgendertxt .= ''; break; } - } else $addgendertxt = ''; + } // Add where from hooks if (is_object($hookmanager)) {