aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-08 21:43:32 -0700
committerFriendika <info@friendika.com>2011-06-08 21:43:32 -0700
commitdea721a3f866956e0d0b86316679e05498b1d81c (patch)
treef3a46827c0cd0a967192d4022323394b36949ee5 /mod/photos.php
parentdf8ac668b800ecf64ab2c240678eb87b225cb513 (diff)
downloadvolse-hubzilla-dea721a3f866956e0d0b86316679e05498b1d81c.tar.gz
volse-hubzilla-dea721a3f866956e0d0b86316679e05498b1d81c.tar.bz2
volse-hubzilla-dea721a3f866956e0d0b86316679e05498b1d81c.zip
minor fixes to apps (don't show notes if not logged in) and photos (tag delete link is leaking to unauthorised users)
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index f1a2d635c..f8749f5f7 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1106,9 +1106,10 @@ function photos_content(&$a) {
$tag_str .= bbcode($t);
}
$tags = array(t('Tags: '), $tag_str);
- if($cmd === 'edit')
+ if($cmd === 'edit') {
$tags[] = $a->get_baseurl() . '/tagrm/' . $link_item['id'];
$tags[] = t('[Remove any tag]');
+ }
}