X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FProfile.php;h=8a5be5f358b58916662310e25e341cb702d8e183;hb=3fc1d245a179efabfa862d3539642fe0fc67f856;hp=7005e776a59da542c91ee18fff2d8ff5e0e1ae71;hpb=783e400d941264ac6c949994e5a28972ccc2754a;p=quix0rs-gnu-social.git diff --git a/classes/Profile.php b/classes/Profile.php index 7005e776a5..8a5be5f358 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -686,7 +686,7 @@ class Profile extends Managed_DataObject $profile = new Profile(); $tagged = array(); - $cnt = $profile->query(sprintf($qry, $this->id, $this->id, $tag)); + $cnt = $profile->query(sprintf($qry, $this->id, $this->id, $profile->escape($tag))); while ($profile->fetch()) { $tagged[] = clone($profile);