X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8003c3b1db2dd73402977fcfe29653108794099c..fef43fa:/SL/Form.pm?ds=inline diff --git a/SL/Form.pm b/SL/Form.pm index d0a4157b4..0c291dabe 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -2521,7 +2521,7 @@ sub all_vc { $table = $table eq "customer" ? "customer" : "vendor"; - my $query = qq|SELECT count(*) FROM $table|; + my $query = qq|SELECT count(*) FROM $table WHERE NOT obsolete|; my ($count) = selectrow_query($self, $dbh, $query); # build selection list