fix inconsistent return value from fn

putting this in the queue when I remember as deep in something else but it fixed a fatal on off-site payment processor