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)
|
||||
{
|
||||
if ($start == 0) {
|
||||
$s = "limit $start";
|
||||
$s = "limit $offset";
|
||||
} else {
|
||||
$s = "limit $start,$offset";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user