Fix the bug that call to a member function getFrameFilters() on null

This commit is contained in:
huangdijia
2023-03-04 20:47:11 +08:00
parent 3e8aebbca9
commit c5689df45c
+2 -1
View File
@@ -287,6 +287,7 @@ class PrettyPageHandler extends Handler
$vars["tables"] = array_merge($extraTables, $vars["tables"]);
$plainTextHandler = new PlainTextHandler();
$plainTextHandler->setRun($this->getRun());
$plainTextHandler->setException($this->getException());
$plainTextHandler->setInspector($this->getInspector());
$vars["preface"] = "<!--\n\n\n" . $this->templateHelper->escape($plainTextHandler->generateResponse()) . "\n\n\n\n\n\n\n\n\n\n\n-->";
@@ -753,7 +754,7 @@ class PrettyPageHandler extends Handler
/**
* Set the application paths.
*
*
* @return void
*/
public function setApplicationPaths(array $applicationPaths)