@@ -, +, @@ selected --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -134,7 +134,7 @@ $(document).ready(function() { if($(myListBox).find('option').length > 0) { $(myListBox).find('option').each( function (){ - if ( $(this).attr('selected') ) { + if ( $(this).attr('selected') && $(this).val().length > 0 ) { $(myQuery).insertAtCaret("<<" + $(this).val() + ">>"); } }); --