Skip to content

Commit

Permalink
Update html.formintervention.class.php (#31658)
Browse files Browse the repository at this point in the history
This id should be set with the html name field
  • Loading branch information
Misteri0nnaire authored Oct 31, 2024
1 parent ecd2f44 commit 94292a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/html.formintervention.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function select_interventions($socid = -1, $selected = 0, $htmlname = 'in
dol_syslog(get_class($this)."::select_intervention", LOG_DEBUG);
$resql = $this->db->query($sql);
if ($resql) {
$out .= '<select id="interventionid" class="flat" name="'.dol_escape_htmltag($htmlname).'">';
$out .= '<select id="'.dol_escape_htmltag($htmlname).'" class="flat" name="'.dol_escape_htmltag($htmlname).'">';
if ($showempty) {
$out .= '<option value="0">';
if (!is_numeric($showempty)) {
Expand Down

0 comments on commit 94292a1

Please sign in to comment.