diff options
author | marijus <mario@mariovavti.com> | 2014-10-28 11:56:00 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-10-28 11:56:00 +0100 |
commit | ec8bab7784b531299150ddb2c18ede40d5c5df6c (patch) | |
tree | 43aeaa5714b455730eb77de4419864e0b7e21a00 /mod/photos.php | |
parent | 9cc76cb33da489c01731ecb5195f8bb3d51ce513 (diff) | |
download | volse-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.php | 2 |
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 ++; |