diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-23 14:45:44 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-23 14:45:44 -0700 |
commit | 0dab5f58723cba8b5915c694a8200e242cc9ec02 (patch) | |
tree | 240bc8ff72c69bde7789d08493eeee87de1f1a38 /classes/Profile.php | |
parent | 749d9bfbbf65d962804bea1fa510039da185179f (diff) | |
parent | 7fff454ff931635dc1aca6a67af194b25567a65b (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
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 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); |