forked from extern/egroupware
fix limit function to return offset var
This commit is contained in:
parent
ab86478263
commit
39334f25ec
@ -100,7 +100,7 @@ class db {
|
|||||||
function limit($start,$offset)
|
function limit($start,$offset)
|
||||||
{
|
{
|
||||||
if ($start == 0) {
|
if ($start == 0) {
|
||||||
$s = "limit $start";
|
$s = "limit $offset";
|
||||||
} else {
|
} else {
|
||||||
$s = "limit $start,$offset";
|
$s = "limit $start,$offset";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user