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