A non-existing account is no longer supported if it does not start with - or +
but the undo plugin used the "account" named "**UNDO**".
This commit is contained in:
Juerd Waalboer 2022-06-12 04:27:22 +02:00
parent bdb4b2ce34
commit 73e8963c2f

View file

@ -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.";
}