Skip to content

Commit

Permalink
CUPS Web UI: Fix uninitialized variable during driver selection #242
Browse files Browse the repository at this point in the history
Cherry picked from OpenPrinting/cups#242
  • Loading branch information
AtariDreams committed Sep 7, 2021
1 parent 0a9b262 commit afb2f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/choose-model.tmpl
Expand Up @@ -39,7 +39,7 @@
<TD>
<SELECT NAME="PPD_NAME" SIZE="10">
{op=add-printer?:<OPTION VALUE="__no_change__" SELECTED>Current Driver - {current_make_and_model}</OPTION>:}
{show_ipp_everywhere?<OPTION VALUE="everywhere" SELECTED>{current_make_and_model} - IPP Everywhere &trade;</OPTION>:}
{show_ipp_everywhere?<OPTION VALUE="everywhere" SELECTED>{current_make_and_model?{current_make_and_model} -:} IPP Everywhere &trade;</OPTION>:}
{[ppd_name]<OPTION VALUE="{ppd_name}" {op=modify-printer?:{?current_make_and_model={ppd_make_and_model}?SELECTED:}}>{ppd_make_and_model} ({ppd_natural_language})
}</SELECT>
</TD>
Expand Down

0 comments on commit afb2f7a

Please sign in to comment.