Bugfix 3419: fixes typo in inequality.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
766e1475ab
commit
f74e86ca30
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue