It's a bug. ad_return_complaint should be called with the
number of errors and an html fragment (which is disgusting but the proc is old...).
In this case the number is missing. I grepped the code and
there are a dozen other places where it's called incorrectly
(although usually with a string ostensibly for a title in
arg1).
I fixed them on the oacs-5-0 branch.