diff options
author | Rose <83477269+AtariDreams@users.noreply.github.com> | 2021-09-07 12:34:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 12:34:50 -0400 |
commit | afb2f7ad4add3795a6fe81b38822804429fe2b5b (patch) | |
tree | 8619fcc71b4103ceb8ed0bd162a6785f4cae546b | |
parent | 0a9b26240eb32c8dc3d4666eabb76fe5280208b4 (diff) | |
download | cups-afb2f7ad4add3795a6fe81b38822804429fe2b5b.tar.gz |
CUPS Web UI: Fix uninitialized variable during driver selection #242
Cherry picked from https://github.com/OpenPrinting/cups/pull/242
-rw-r--r-- | templates/choose-model.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/choose-model.tmpl b/templates/choose-model.tmpl index e916cf8a0..9c9b71f22 100644 --- a/templates/choose-model.tmpl +++ b/templates/choose-model.tmpl @@ -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 ™</OPTION>:} +{show_ipp_everywhere?<OPTION VALUE="everywhere" SELECTED>{current_make_and_model?{current_make_and_model} -:} IPP Everywhere ™</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> |