Bugfix 3419: fixes typo in inequality.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Ian Walls 2010-07-12 14:22:48 -04:00 committed by Galen Charlton
parent 766e1475ab
commit f74e86ca30
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}