True, but it's like lemon laws for cars. If your new car isn't reliable, you're entitled to a refund.
Yeah, there's no law that applies in this instance, but I do sympathize with the company if the code really was subpar. There are a lot of bad developers out there, and for someone who doesn't program it's very difficult to avoid them.