aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-10-28 22:13:33 +1100
committerRedMatrix <info@friendica.com>2014-10-28 22:13:33 +1100
commit4891eb5b0111afb15617e125a190ded8d39e3db2 (patch)
tree43aeaa5714b455730eb77de4419864e0b7e21a00 /mod/photos.php
parent9cc76cb33da489c01731ecb5195f8bb3d51ce513 (diff)
parentec8bab7784b531299150ddb2c18ede40d5c5df6c (diff)
downloadvolse-hubzilla-4891eb5b0111afb15617e125a190ded8d39e3db2.tar.gz
volse-hubzilla-4891eb5b0111afb15617e125a190ded8d39e3db2.tar.bz2
volse-hubzilla-4891eb5b0111afb15617e125a190ded8d39e3db2.zip
Merge pull request #668 from git-marijus/master
change the way tagrm works to allow tag removal on the fly
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 26a2bf50b..796613e3d 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -918,7 +918,7 @@ function photos_content(&$a) {
foreach($link_item['term'] as $t) {
$tags[$cnt] = array(0 => format_term_for_display($t));
if($can_post && ($ph[0]['uid'] == $owner_uid)) {
- $tags[$cnt][1] = 'tagrm?f=&item=' . $link_item['id'];
+ $tags[$cnt][1] = 'tagrm/drop/' . $link_item['id'] . '/' . bin2hex($t['term']); //?f=&item=' . $link_item['id'];
$tags[$cnt][2] = t('Remove');
}
$cnt ++;