forked from Public/pics
PhotoPage: only call printNewTagScript if $allowLinkingNewTags
This commit is contained in:
parent
ead4240173
commit
b64f87a49d
@ -174,8 +174,11 @@ class PhotoPage extends Template
|
||||
echo '
|
||||
</ul>';
|
||||
|
||||
if ($allowLinkingNewTags)
|
||||
{
|
||||
$this->printNewTagScript($tagKind, $tagListId, $newTagId);
|
||||
}
|
||||
}
|
||||
|
||||
private function printNewTagScript($tagKind, $tagListId, $newTagId)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user