Skip to content

Commit

Permalink
IBX-7364: Ensured independent property assignment in setPreviewActive…
Browse files Browse the repository at this point in the history
… method by using clone
  • Loading branch information
ViniTou committed Jan 25, 2024
1 parent 46e3884 commit da9df08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/Helper/ContentPreviewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function isPreviewActive()
public function setPreviewActive($previewActive)
{
$this->previewActive = (bool)$previewActive;
$this->originalSiteAccess = clone $this->originalSiteAccess;
}

/**
Expand Down

0 comments on commit da9df08

Please sign in to comment.