X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a45d8cbe5ee45a89a61465a1e2c4a43b74ed375d..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|;