mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 03:34:33 +02:00
Additional upgrades to FieldtypeComments and its related classes
This commit is contained in:
@@ -937,7 +937,7 @@ class WireFileTools extends Wire {
|
||||
}
|
||||
|
||||
// render file and return output
|
||||
$t = new TemplateFile();
|
||||
$t = $this->wire(new TemplateFile()); /** @var TemplateFile $t */
|
||||
$t->setThrowExceptions($options['throwExceptions']);
|
||||
$t->setFilename($filename);
|
||||
|
||||
|
Reference in New Issue
Block a user