From: Zach Copley <zach@controlyourself.ca>
Date: Sat, 24 Jan 2009 11:21:39 +0000 (-0800)
Subject: Wow, let's try this once more. peopletag.php should be converted to new uiredesign now
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=40928cd27a5747c416dbd3724fb2ea8479f37a2e;p=quix0rs-gnu-social.git

Wow, let's try this once more. peopletag.php should be converted to new uiredesign now
---

diff --git a/actions/peopletag.php b/actions/peopletag.php
index 221ece2a9a..bf2aacb1c2 100644
--- a/actions/peopletag.php
+++ b/actions/peopletag.php
@@ -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();