pull/6085/head
Aleksander Machniak 7 years ago
parent 09c8b33439
commit 46e2e7e16c

@ -1606,12 +1606,12 @@ EOF;
/**
* Process template and write to stdOut
*
* @param string $templ HTML template
* @param string $output HTML output
* @param string $base_path Base for absolute paths
*/
protected function _write($templ = '', $base_path = '')
protected function _write($output = '', $base_path = '')
{
$output = trim($templ);
$output = trim($output);
if (empty($output)) {
$output = html::doctype('html5') . "\n" . $this->default_template;

Loading…
Cancel
Save