From ec5c40e8e00f5d2d449d3c9cd88e00da3ca466ba Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Mon, 12 Jul 2010 14:19:54 -0400 Subject: [PATCH] Bugfix 3419: fixes typo in inequality. This allows for reports larger than 9999 rows to be downloaded fully to file Content-Type: text/plain; charset="utf-8" --- C4/Reports/Guided.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index 5cdad46..51e608b 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -460,7 +460,7 @@ sub execute_query ($;$$$) { if (defined($userlimit)) { if ($offset + $limit > $userlimit ) { $limit = $userlimit - $offset; - } elsif ( ! $offset && $limit > $userlimit ) { + } elsif ( ! $offset && $limit < $userlimit ) { $limit = $userlimit; } } -- 1.5.6.5