summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-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();