Remove trailing space characters from job description
authorJoey Schulze <joey@infodrom.org>
Fri, 7 Jul 2017 18:05:09 +0000 (20:05 +0200)
committerJoey Schulze <joey@infodrom.org>
Mon, 10 Jul 2017 20:48:30 +0000 (22:48 +0200)
src/InfoCon/stempel/stempel

index 06dc909..d851455 100755 (executable)
@@ -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);