X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9ae5631b5d24472131dd5d1931b9b4fce7344ddb..872f1493c76c54217646a2d2a91efd44df825777:/SL/IC.pm diff --git a/SL/IC.pm b/SL/IC.pm index 426fc9fc3..50c1172b0 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -937,7 +937,9 @@ sub all_parts { #my $order_clause = " ORDER BY $form->{sort} $sort_order"; - my $limit_clause = " LIMIT 100" if $form->{top100}; + my $limit_clause; + $limit_clause = " LIMIT 100" if $form->{top100}; + $limit_clause = " LIMIT " . $form->{limit} * 1 if $form->{limit} * 1; #=== joins and complicated filters ========#