Skip to content

Commit bbc97d7

Browse files
committed
core (fix) change OnWebPagePrerender event
1 parent a24e770 commit bbc97d7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/src/Core.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -840,11 +840,8 @@ public function outputContent($noEvent = false)
840840
if (!$noEvent) {
841841
$evtOut = $this->invokeEvent(
842842
'OnWebPagePrerender'
843-
, array('documentOutput' => $this->documentOutput)
843+
, array('documentOutput' => &$this->documentOutput)
844844
);
845-
if (is_array($evtOut) && count($evtOut) > 0 && !empty($evtOut['0'])) {
846-
$this->documentOutput = $evtOut['0'];
847-
}
848845
}
849846

850847
$this->documentOutput = removeSanitizeSeed($this->documentOutput);

0 commit comments

Comments
 (0)