From 6aa33beedb11cfc64f4d4ca6646fec91a5369ed4 Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Thu, 18 Jan 2024 18:15:35 +0100 Subject: [PATCH] statiegeld: fix warning --- plugins/statiegeld | 2 +- revbank | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/statiegeld b/plugins/statiegeld index e1716ef..833714e 100644 --- a/plugins/statiegeld +++ b/plugins/statiegeld @@ -126,7 +126,7 @@ sub hook_input { # args via @_ for mutable alias $S or return; # Extra newline before new "Scan products for ..." line. - print "\n" if $input eq "" and $split_input; + print "\n" if defined $input and $input eq "" and $split_input; # Hijack 'help' command so it never reaches the 'help' plugin. if ($split_input and $input eq "help") { diff --git a/revbank b/revbank index 4fdbb7a..4c58376 100755 --- a/revbank +++ b/revbank @@ -18,7 +18,7 @@ use RevBank::Messages; use RevBank::Cart; use RevBank::Prompt; -our $VERSION = "5.1.2"; +our $VERSION = "5.1.3"; our %HELP1 = ( "abort" => "Abort the current transaction", );