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