[Koha-patches] [PATCH] Bugfix 3419: fixes typo in inequality.

Ian Walls ian.walls at bywatersolutions.com
Mon Jul 12 20:22:48 CEST 2010


---
 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



More information about the Koha-patches mailing list