From: Thomas Kasulke Date: Fri, 27 Apr 2007 11:53:15 +0000 (+0000) Subject: sub _get_currencies an currencies angepasst, da diese mit : getrennt in der Tabelle... X-Git-Tag: release-2.4.3^2~425 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ee9fb352c2d675dfe828e5f672d857b827e003ed;p=kivitendo-erp.git sub _get_currencies an currencies angepasst, da diese mit : getrennt in der Tabelle stehen --- diff --git a/SL/Form.pm b/SL/Form.pm index 65fdaced1..caace43f6 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1596,8 +1596,8 @@ $main::lxdebug->enter_sub(); $key = "all_currencies" unless ($key); my $query = qq|SELECT curr AS currency FROM defaults|; - - $self->{$key} = selectall_hashref_query($self, $dbh, $query); + + $self->{$key} = [split(/\:/ , selectfirst_hashref_query($self, $dbh, $query)->{currency})]; $main::lxdebug->leave_sub(); }