summaryrefslogtreecommitdiff
path: root/classes/Profile.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-23 11:13:27 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-23 11:13:27 -0400
commitec453f01238cfd403750afc921dad32975767bac (patch)
treed5838c46afc6c88c9d1d37ebf19885d2c1aa940a /classes/Profile.php
parentfa332c8c85a140f9f85b5c094c4266475742d27e (diff)
parent27e525dbbc126b4fce91c89f25153dfe2b771ee9 (diff)
Merge commit 'br3nda/0.8.x-profile-pgfix' into 0.8.x
Diffstat (limited to 'classes/Profile.php')
-rw-r--r--classes/Profile.php2
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);