X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Ftagrm.php;h=176986bc38e23cc195918b60b3f0e995e4b28fab;hb=a48156aab66a85b03af640d84e3d884822b9a671;hp=d4b483a522f970afec8f66a84cd481591cd2282d;hpb=307cada234687124ebbcfec867cb6b8cc307897c;p=friendica.git diff --git a/mod/tagrm.php b/mod/tagrm.php index d4b483a522..176986bc38 100644 --- a/mod/tagrm.php +++ b/mod/tagrm.php @@ -32,7 +32,7 @@ function tagrm_post(&$a) { $tag_str = implode(',',$arr); - q("UPDATE `item` SET `tag` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1", + q("UPDATE `item` SET `tag` = '%s' WHERE `id` = %d AND `uid` = %d", dbesc($tag_str), intval($item), intval(local_user())