From 40928cd27a5747c416dbd3724fb2ea8479f37a2e Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Sat, 24 Jan 2009 03:21:39 -0800 Subject: [PATCH] Wow, let's try this once more. peopletag.php should be converted to new uiredesign now --- actions/peopletag.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5