X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/82053b457be3de2ee5285dc13633222f4d30802c..7635f647ec7dcdef51684b21601ee0930ea2bc5b:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 77aea90cf..5a2b38df2 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -2496,7 +2496,7 @@ sub all_vc { my $query = qq|SELECT count(*) FROM $table $obsolete|; my ($count) = selectrow_query($self, $dbh, $query); - if ($count < $myconfig->{vclimit}) { + if ($count <= $myconfig->{vclimit}) { $query = qq|SELECT id, name, salesman_id FROM $table $obsolete ORDER BY name|;