From df7538224c4748dc832c0622893a5344ce06ff95 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Fri, 7 Jul 2017 20:05:09 +0200 Subject: [PATCH] Remove trailing space characters from job description --- src/InfoCon/stempel/stempel | 1 + 1 file changed, 1 insertion(+) diff --git a/src/InfoCon/stempel/stempel b/src/InfoCon/stempel/stempel index 06dc909..d851455 100755 --- a/src/InfoCon/stempel/stempel +++ b/src/InfoCon/stempel/stempel @@ -131,6 +131,7 @@ sub open_task next; } + $task =~ s/\s*$//; my $query = q{INSERT INTO stempel (start,customer,task) VALUES('now()',?,?)}; my $sth = $dbh->prepare($query); $sth->execute($customer, $task); -- 2.20.1