X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpeopletag.php;h=dd3c1c0899a7befec824afeae83e4c8f19434633;hb=84fb84693994ba05a642d105a57227df7b412466;hp=6b1e34f1ab47db2b1c2aa4d2f273171233ed23a2;hpb=eaac9350dd0ff02dda975f48e0be0c6ad1e7a56d;p=quix0rs-gnu-social.git diff --git a/actions/peopletag.php b/actions/peopletag.php index 6b1e34f1ab..dd3c1c0899 100644 --- a/actions/peopletag.php +++ b/actions/peopletag.php @@ -119,12 +119,12 @@ class PeopletagAction extends Action 'FROM profile JOIN profile_tag ' . 'ON profile.id = profile_tag.tagger ' . 'WHERE profile_tag.tagger = profile_tag.tagged ' . - 'AND tag = "%s" ' . + "AND tag = '%s' " . 'ORDER BY profile_tag.modified DESC%s'; $profile->query(sprintf($qry, $this->tag, $lim)); - $pl = new ProfileList($profile, null, $this); + $pl = new ProfileList($profile, $this); $cnt = $pl->show(); $this->pagination($this->page > 1,