PhotoPage: only call printNewTagScript if $allowLinkingNewTags

This commit is contained in:
Aaron van Geffen 2024-06-29 10:03:51 +02:00
parent ead4240173
commit b64f87a49d

View File

@ -174,8 +174,11 @@ class PhotoPage extends Template
echo '
</ul>';
if ($allowLinkingNewTags)
{
$this->printNewTagScript($tagKind, $tagListId, $newTagId);
}
}
private function printNewTagScript($tagKind, $tagListId, $newTagId)
{