Skip to content

Commit

Permalink
Merge pull request #27 from a2nt/patch-3
Browse files Browse the repository at this point in the history
[FIX] getRenderedHtml
  • Loading branch information
zanderwar authored Sep 13, 2018
2 parents d86f8f9 + abd685b commit 818d2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/PageHealthExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function updateCMSFields(FieldList $fields)
public function getRenderedHtml()
{
if (!$this->renderedHtml) {
$this->renderedHtml = @file_get_contents($this->getOwner()->AbsoluteLink());
$this->renderedHtml = file_get_contents($this->getOwner()->AbsoluteLink().'?stage=Stage');
}

if ($this->renderedHtml === false) {
Expand Down

0 comments on commit 818d2c2

Please sign in to comment.