minor fixes to apps (don't show notes if not logged in) and photos (tag delete link is leaking to unauthorised users)
This commit is contained in:
parent
df8ac668b8
commit
dea721a3f8
2 changed files with 14 additions and 3 deletions
|
@ -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]');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue