projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe53777
)
Remove trailing space characters from job description
author
Joey Schulze
<joey@infodrom.org>
Fri, 7 Jul 2017 18:05:09 +0000
(20:05 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 10 Jul 2017 20:48:30 +0000
(22:48 +0200)
src/InfoCon/stempel/stempel
patch
|
blob
|
history
diff --git
a/src/InfoCon/stempel/stempel
b/src/InfoCon/stempel/stempel
index
06dc909
..
d851455
100755
(executable)
--- a/
src/InfoCon/stempel/stempel
+++ b/
src/InfoCon/stempel/stempel
@@
-131,6
+131,7
@@
sub open_task
next;
}
next;
}
+ $task =~ s/\s*$//;
my $query = q{INSERT INTO stempel (start,customer,task) VALUES('now()',?,?)};
my $sth = $dbh->prepare($query);
$sth->execute($customer, $task);
my $query = q{INSERT INTO stempel (start,customer,task) VALUES('now()',?,?)};
my $sth = $dbh->prepare($query);
$sth->execute($customer, $task);