Error (Something went wrong...) when client approves quote

I see the blue bar on top with “This quote is approved” but below I see

"Something went wrong…
The requested invoice is not available

If you’d like help please email us at …"

I was looking at QuoteController.php at line 169 and it seems the $invitationKey is not being property set for the redirect on line 172.

Thanks for lettings us know, we’ll have a new release ready in a few hours with a fix.

You can see the details of the fix here: https://github.com/invoiceninja/invoiceninja/commit/97a56fac13f8542d6a223c01502185eaa2475aaf

We used an auto-refactoring tool with our past release which has introduced some problems.