DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
719 stars 254 forks source link

Set default value is not all invocations use 2 arguments #2554

Closed vmcj closed 4 months ago

vmcj commented 4 months ago

This unbreaks the language versions page. Visiting the page triggered the functions without the second argument.

eldering commented 4 months ago

@vmcj could you please next time try to carefully reread your sentences? The title sentence in this commit/PR does not parse. Even if I replace is by if, then it still doesn't really make sense, because the default value is set independently of arguments being provided.