openwebwork / webwork2

Course management front end for WeBWorK
http://webwork.maa.org/wiki/Main_Page
Other
141 stars 164 forks source link

define set_to_display as empty string when undefined #2399

Closed Alex-Jordan closed 2 months ago

Alex-Jordan commented 2 months ago

Without this, if you go to the Library Browser, Set Definition Files button, and just click to view problems with no set selected, you get a perl error because of line 553 (the debug line) using an undefined string. It seems like if the string is undefined, it's OK to define it as '' in the previous line to avoid this. And likewise with viewing problems from "Course Sets".

drgrice1 commented 2 months ago

This is so minor, I will go ahead and merge it.