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>
Sun, 9 Jul 2017 11:56:00 +0000 (13:56 +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);