Merge remote branch 'kc/master'
This commit is contained in:
commit
b2112eac49
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ sub execute_query ($;$$$) {
|
||||||
if (defined($userlimit)) {
|
if (defined($userlimit)) {
|
||||||
if ($offset + $limit > $userlimit ) {
|
if ($offset + $limit > $userlimit ) {
|
||||||
$limit = $userlimit - $offset;
|
$limit = $userlimit - $offset;
|
||||||
} elsif ( ! $offset && $limit > $userlimit ) {
|
} elsif ( ! $offset && $limit < $userlimit ) {
|
||||||
$limit = $userlimit;
|
$limit = $userlimit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue