X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a53233e56a9d4001b47bcf412b4bfe46910d3117..eb8d3de878876804b0465ec7cde9adfff436a5a0:/SL/OE.pm diff --git a/SL/OE.pm b/SL/OE.pm index 2e0ac4212..72c11ed32 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -620,7 +620,7 @@ sub retrieve { my $ref = selectfirst_hashref_query($form, $dbh, $query); map { $form->{$_} = $ref->{$_} } keys %$ref; - ($form->{currency}) = split(/:/, $form->{currencies}); + ($form->{currency}) = split(/:/, $form->{currencies}) unless ($form->{currency}); # set reqdate if this is an invoice->order conversion. If someone knows a better check to ensure # we come from invoices, feel free.