In all other locations where a hold cancellation reason can be specified, no notice is sent if a cancellation reason is not selected. However, if a hold is cancelled from the check-in pop-up and no reason is selected, a notice is sent without a valid reason value. This occurs because the <select> value is set to "NULL", when it should be left undefined.
Never mind, this was already fixed by bug 35535...should've tested on master before I reported it. :) *** This bug has been marked as a duplicate of bug 35535 ***
Sorry Emily. I sneakily put that fix into Bug 29007. You can also fix this in the meantime with a bit of JS. :)
Haha thanks for fixing it! :) Good point - I addressed it locally by adding [%- IF hold.cancellation_reason != 'NULL' -%] to the notice template before I filed the bug, but I appreciate the JS suggestion as well!