Lines 460-466
sub execute_query ($;$$$) {
Link Here
|
460 |
if (defined($userlimit)) { |
460 |
if (defined($userlimit)) { |
461 |
if ($offset + $limit > $userlimit ) { |
461 |
if ($offset + $limit > $userlimit ) { |
462 |
$limit = $userlimit - $offset; |
462 |
$limit = $userlimit - $offset; |
463 |
} elsif ( ! $offset && $limit > $userlimit ) { |
463 |
} elsif ( ! $offset && $limit < $userlimit ) { |
464 |
$limit = $userlimit; |
464 |
$limit = $userlimit; |
465 |
} |
465 |
} |
466 |
} |
466 |
} |
467 |
- |
|
|