]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagrm.php
photos-albms widget: add some classes
[friendica.git] / mod / tagrm.php
index 5041145cc323e2a99268b706b4c0c71e2049b832..176986bc38e23cc195918b60b3f0e995e4b28fab 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-require_once('bbcode.php');
+require_once('include/bbcode.php');
 
 function tagrm_post(&$a) {
 
@@ -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())