From: Moritz Bunkus Date: Tue, 24 Apr 2007 14:57:56 +0000 (+0000) Subject: Zahlungsverkehr: Drop-Down-Box für das Konto richtig befüllen. X-Git-Tag: release-2.4.3^2~459 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6dde80b7b32967d54aace8241d686fd35db1f890;p=kivitendo-erp.git Zahlungsverkehr: Drop-Down-Box für das Konto richtig befüllen. --- diff --git a/SL/CP.pm b/SL/CP.pm index 56f579543..e0cefd314 100644 --- a/SL/CP.pm +++ b/SL/CP.pm @@ -74,8 +74,7 @@ sub paymentaccounts { qq|FROM chart | . qq|WHERE link LIKE ? |. qq|ORDER BY accno|; - my $sth = prepare_execute_query($form, $dbh, $query, - $form->{ARAP} eq "AR" ? "AR" : "AP" ); + my $sth = prepare_execute_query($form, $dbh, $query, '%' . $ARAP . '%'); $form->{PR}{ $form->{ARAP} } = (); $form->{PR}{"$form->{ARAP}_paid"} = ();