From f74e86ca308d841741a54c422f1159ebe41f0100 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Mon, 12 Jul 2010 14:22:48 -0400 Subject: [PATCH] Bugfix 3419: fixes typo in inequality. Signed-off-by: Galen Charlton --- C4/Reports/Guided.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index 5cdad462cb..51e608b296 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; } } -- 2.39.5