X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ftagrm.php;h=176986bc38e23cc195918b60b3f0e995e4b28fab;hb=93fd6dce843d74f36192a7960de63766755aff0f;hp=d4b483a522f970afec8f66a84cd481591cd2282d;hpb=e50c0efcdfa05f682201deb630b6147755c87fe4;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())