Skip to content

Commit

Permalink
Update WysiwygWithMetadata.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kkarkus authored Jan 5, 2024
1 parent 625d699 commit 71bad4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Document/Areabrick/WysiwygWithMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function action(Info $info): ?\Symfony\Component\HttpFoundation\Response
{
$lang = $info->getDocument()->getProperty("language");

$tag = $this->getDocumentTag($info->getDocument(), self::TAG_TYPE, self::TAG_NAME);
$tag = $this->getDocumentEditable($info->getDocument(), self::TAG_TYPE, self::TAG_NAME);
if (!$tag instanceof Tag) {
return null;
}
Expand Down

0 comments on commit 71bad4a

Please sign in to comment.