From 73e8963c2fa4c08e02474086165359687e6c157d Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Sun, 12 Jun 2022 04:27:22 +0200 Subject: [PATCH] Fix undo A non-existing account is no longer supported if it does not start with - or + but the undo plugin used the "account" named "**UNDO**". --- plugins/undo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/undo b/plugins/undo index 89af87c..ef408db 100644 --- a/plugins/undo +++ b/plugins/undo @@ -35,7 +35,7 @@ sub undo($self, $cart, $tid, @) { close $out or die $!; if ($cart->size) { rename "$filename.$$", $filename or die $!; - $cart->checkout('**UNDO**'); + $cart->checkout('-undo'); } else { return ABORT, "Transaction ID '$tid' not found in undo log."; }