diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-23 11:13:27 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-23 11:13:27 -0400 |
commit | ec453f01238cfd403750afc921dad32975767bac (patch) | |
tree | d5838c46afc6c88c9d1d37ebf19885d2c1aa940a | |
parent | fa332c8c85a140f9f85b5c094c4266475742d27e (diff) | |
parent | 27e525dbbc126b4fce91c89f25153dfe2b771ee9 (diff) |
Merge commit 'br3nda/0.8.x-profile-pgfix' into 0.8.x
-rw-r--r-- | classes/Profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index 372005cdd..f926b2cef 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -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); |