diff --git a/src/SimpleXLSXGen.php b/src/SimpleXLSXGen.php index 07e96ab..1233d26 100644 --- a/src/SimpleXLSXGen.php +++ b/src/SimpleXLSXGen.php @@ -342,7 +342,7 @@ class SimpleXLSXGen $s .= ''; } $search = ['{SHEETS}', '{APP}']; - $replace = [$s, $this->template]; + $replace = [$s, $this->application]; $template = str_replace($search, $replace, $template); $this->_writeEntry($fh, $cdrec, $cfilename, $template); $entries++;