projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Das seitliche Menü hat jetzt Icons für die Unterpunkte, welche auch klickbar sind.
[kivitendo-erp.git]
/
SL
/
FU.pm
diff --git
a/SL/FU.pm
b/SL/FU.pm
index
b8edf58
..
ad6149d
100644
(file)
--- a/
SL/FU.pm
+++ b/
SL/FU.pm
@@
-8,6
+8,8
@@
use SL::Common;
use SL::DBUtils;
use SL::Notes;
use SL::DBUtils;
use SL::Notes;
+use strict;
+
sub save {
$main::lxdebug->enter_sub();
sub save {
$main::lxdebug->enter_sub();
@@
-36,7
+38,8
@@
sub save {
'trans_id' => $params{id},
'trans_module' => 'fu',
'subject' => $params{subject},
'trans_id' => $params{id},
'trans_module' => 'fu',
'subject' => $params{subject},
- 'body' => $params{body});
+ 'body' => $params{body},
+ 'dbh' => $dbh,);
$params{done} = 1 if (!defined $params{done});
$params{done} = 1 if (!defined $params{done});
@@
-44,7
+47,7
@@
sub save {
do_query($form, $dbh, qq|DELETE FROM follow_up_links WHERE follow_up_id = ?|, conv_i($params{id}));
do_query($form, $dbh, qq|DELETE FROM follow_up_links WHERE follow_up_id = ?|, conv_i($params{id}));
-
my
$query = qq|INSERT INTO follow_up_links (follow_up_id, trans_id, trans_type, trans_info) VALUES (?, ?, ?, ?)|;
+ $query = qq|INSERT INTO follow_up_links (follow_up_id, trans_id, trans_type, trans_info) VALUES (?, ?, ?, ?)|;
my $sth = prepare_query($form, $dbh, $query);
foreach my $link (@{ $params{LINKS} }) {
my $sth = prepare_query($form, $dbh, $query);
foreach my $link (@{ $params{LINKS} }) {