aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-28 11:56:00 +0100
committermarijus <mario@mariovavti.com>2014-10-28 11:56:00 +0100
commitec8bab7784b531299150ddb2c18ede40d5c5df6c (patch)
tree43aeaa5714b455730eb77de4419864e0b7e21a00 /mod/photos.php
parent9cc76cb33da489c01731ecb5195f8bb3d51ce513 (diff)
downloadvolse-hubzilla-ec8bab7784b531299150ddb2c18ede40d5c5df6c.tar.gz
volse-hubzilla-ec8bab7784b531299150ddb2c18ede40d5c5df6c.tar.bz2
volse-hubzilla-ec8bab7784b531299150ddb2c18ede40d5c5df6c.zip
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 ++;