]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Wow, let's try this once more. peopletag.php should be converted to new uiredesign now
authorZach Copley <zach@controlyourself.ca>
Sat, 24 Jan 2009 11:21:39 +0000 (03:21 -0800)
committerZach Copley <zach@controlyourself.ca>
Sat, 24 Jan 2009 11:21:39 +0000 (03:21 -0800)
actions/peopletag.php

index 221ece2a9a7f3d9bef4618a94c18a83c88021a58..bf2aacb1c27524ed61e38360b96c779eebed691c 100644 (file)
@@ -71,8 +71,8 @@ class PeopletagAction extends Action
                                 'ON profile.id = profile_tag.tagger ' .
                                 'WHERE profile_tag.tagger = profile_tag.tagged ' .
                                 'AND tag = "%s" ' .
-                                'ORDER BY profile_tag.modified DESC ' . 
-                                $lim, $this->tag));
+                                'ORDER BY profile_tag.modified DESC ',
+                                'LIMIT 0, %s'), $this->tag, $lim);
 
         $pl = new ProfileList($profile, null, $this);
         $cnt = $pl->show();