Undefined variable $issued_successfully Closes #6572 See merge request !1801
mentioned in commit a1fa5323
mentioned in commit a139dde6