changed to SQL standard of LIMIT 20 OFFSET 1 etc.

This commit is contained in:
Brenda Wallace 2009-06-26 20:25:52 +12:00
parent b05b998d68
commit 63ea2b7c45
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Fave extends Memcached_DataObject
$qry .= 'ORDER BY modified DESC ';
if (!is_null($offset)) {
$qry .= "LIMIT $offset, $limit";
$qry .= "LIMIT $limit OFFSET $offset";
}
$fav->query($qry);