summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-24 03:21:39 -0800
committerZach Copley <zach@controlyourself.ca>2009-01-24 03:21:39 -0800
commit40928cd27a5747c416dbd3724fb2ea8479f37a2e (patch)
tree5706ab9c3d1934f7ab47a38bd9a03465a47c354a
parent25de8fa06d8c5bc1b2c71975612a1eba0d58ba94 (diff)
Wow, let's try this once more. peopletag.php should be converted to new uiredesign now
-rw-r--r--actions/peopletag.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/peopletag.php b/actions/peopletag.php
index 221ece2a9..bf2aacb1c 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();