]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
say that it's OK to do OpenID login in private mode
[quix0rs-gnu-social.git] / classes / Profile.php
index 372005cddf77123729752ef8e8b1c04c4c9b4815..f926b2cef203bbe9210d7dcad3707fd8fdee6da1 100644 (file)
@@ -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);