diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-07-23 15:07:28 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-07-23 15:07:28 +1200 |
commit | 27e525dbbc126b4fce91c89f25153dfe2b771ee9 (patch) | |
tree | 2bc43949d43af3187124966e1ac392051778fd6a /classes/Profile.php | |
parent | 9b372f5bb7638d5d9b4e48ae425d921bc8559235 (diff) |
fixed up a limit offset to be ANSI SQL compliant
Diffstat (limited to 'classes/Profile.php')
-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 224b61bd2..32de608cf 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); |