fix limit function to return offset var

This commit is contained in:
Miles Lott 2001-01-25 07:07:57 +00:00
parent ab86478263
commit 39334f25ec

View File

@ -100,7 +100,7 @@ class db {
function limit($start,$offset)
{
if ($start == 0) {
$s = "limit $start";
$s = "limit $offset";
} else {
$s = "limit $start,$offset";
}