projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d94820d
)
Wechselkurse dürfen nicht 0 sein.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 1 Jun 2007 12:55:40 +0000
(12:55 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 1 Jun 2007 12:55:40 +0000
(12:55 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
7022acc
..
67f3782
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-1193,7
+1193,9
@@
sub check_exchangerate {
my $query = qq|SELECT e.$fld FROM exchangerate e
WHERE e.curr = ? AND e.transdate = ?|;
my ($exchangerate) = selectrow_query($self, $dbh, $query, $currency, $transdate);
- $dbh->disconnect;
+ $dbh->disconnect();
+
+ $exchangerate = 1 if ($exchangerate == 0);
$main::lxdebug->leave_sub();