diff --git a/templates/PhotoPage.php b/templates/PhotoPage.php index 39d6c79..b26049b 100644 --- a/templates/PhotoPage.php +++ b/templates/PhotoPage.php @@ -174,7 +174,10 @@ class PhotoPage extends Template echo ' '; - $this->printNewTagScript($tagKind, $tagListId, $newTagId); + if ($allowLinkingNewTags) + { + $this->printNewTagScript($tagKind, $tagListId, $newTagId); + } } private function printNewTagScript($tagKind, $tagListId, $newTagId)