Skip to content

Commit

Permalink
replace code from develop to match DLB18 variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-Ngr committed Dec 6, 2024
1 parent c86b50e commit e48e1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/html.formticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ public function selectSeveritiesTickets($selected = '', $htmlname = 'ticketsever
print ' selected="selected"';
} elseif ($arrayseverities['use_default'] == "1" && empty($selected)) {
print ' selected="selected"';
} elseif (count($conf->cache['severity_tickets']) == 1 && (!$empty || $empty == 'ifone')) { // If only 1 choice, we autoselect it
} elseif (count($ticketstat->cache_severity_tickets) == 1 && (!$empty || $empty == 'ifone')) { // If only 1 choice, we autoselect it
print ' selected="selected"';
}

Expand Down

0 comments on commit e48e1e2

Please sign in to comment.