diff options
author | CiaranG <ciaran@ciarang.com> | 2009-07-19 08:05:53 +0100 |
---|---|---|
committer | CiaranG <ciaran@ciarang.com> | 2009-07-19 08:05:53 +0100 |
commit | 1139f7cad59aa562eb1a7f7691c00392206e73fd (patch) | |
tree | b97dacb336af0638e8b1583af283269d5645a4c7 /classes/Fave.php | |
parent | c74943e5985c7a096db3c1fc8f34a6e97c8c1efa (diff) | |
parent | 788dd66dbe75db5d09c0cd5b33bb3347233cbd15 (diff) |
Merge commit 'br3nda/0.8.x-pgfixes' into 0.8.x
Diffstat (limited to 'classes/Fave.php')
-rw-r--r-- | classes/Fave.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Fave.php b/classes/Fave.php index c3ec62dcf..4b28d06b4 100644 --- a/classes/Fave.php +++ b/classes/Fave.php @@ -79,7 +79,7 @@ class Fave extends Memcached_DataObject $qry .= 'ORDER BY modified DESC '; if (!is_null($offset)) { - $qry .= "LIMIT $offset, $limit"; + $qry .= "LIMIT $limit OFFSET $offset"; } $fav->query($qry); |