projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Leeren String in undef für anständige DB-Abfrage umwandeln
[kivitendo-erp.git]
/
SL
/
Form.pm
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
8a4ecbf
..
28e1225
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-1204,6
+1204,7
@@
sub parse_template {
local (*IN, *OUT);
my $userspath = $::lx_office_conf{paths}->{userspath};
local (*IN, *OUT);
my $userspath = $::lx_office_conf{paths}->{userspath};
+
$self->{"cwd"} = getcwd();
$self->{"tmpdir"} = $self->{cwd} . "/${userspath}";
$self->{"cwd"} = getcwd();
$self->{"tmpdir"} = $self->{cwd} . "/${userspath}";
@@
-1295,7
+1296,6
@@
sub parse_template {
$result = $template->parse(*STDOUT);
}
$result = $template->parse(*STDOUT);
}
- Common::copy_file_to_webdav_folder($self) if ($self->{webdav});
if (!$result) {
$self->cleanup();
$self->error("$self->{IN} : " . $template->get_error());
if (!$result) {
$self->cleanup();
$self->error("$self->{IN} : " . $template->get_error());
@@
-2381,7
+2381,7
@@
$main::lxdebug->enter_sub();
$key = "all_payments" unless ($key);
$key = "all_payments" unless ($key);
- my $query = qq|SELECT * FROM payment_terms ORDER BY
id
|;
+ my $query = qq|SELECT * FROM payment_terms ORDER BY
sortkey
|;
$self->{$key} = selectall_hashref_query($self, $dbh, $query);
$self->{$key} = selectall_hashref_query($self, $dbh, $query);