Merge commit 'br3nda/0.8.x-profile-pgfix' into 0.8.x
This commit is contained in:
commit
ec453f0123
@ -199,7 +199,7 @@ class Profile extends Memcached_DataObject
|
||||
$query .= ' order by id DESC';
|
||||
|
||||
if (!is_null($offset)) {
|
||||
$query .= " limit $offset, $limit";
|
||||
$query .= " LIMIT $limit OFFSET $offset";
|
||||
}
|
||||
|
||||
$notice->query($query);
|
||||
|
Loading…
Reference in New Issue
Block a user