1
0
mirror of https://github.com/shuchkin/simplexlsxgen.git synced 2023-08-10 21:12:59 +03:00

Update SimpleXLSXGen.php

Fix 345 line $this->application
This commit is contained in:
Oleg Kosarev 2023-04-19 01:57:19 -05:00
parent 4f4ac11dae
commit c449813bb1

View File

@ -342,7 +342,7 @@ class SimpleXLSXGen
$s .= '<sheet name="' . $this->esc($v['name']) . '" sheetId="' . ($k + 1) . '" r:id="rId' . ($k + 1) . '"/>'; $s .= '<sheet name="' . $this->esc($v['name']) . '" sheetId="' . ($k + 1) . '" r:id="rId' . ($k + 1) . '"/>';
} }
$search = ['{SHEETS}', '{APP}']; $search = ['{SHEETS}', '{APP}'];
$replace = [$s, $this->template]; $replace = [$s, $this->application];
$template = str_replace($search, $replace, $template); $template = str_replace($search, $replace, $template);
$this->_writeEntry($fh, $cdrec, $cfilename, $template); $this->_writeEntry($fh, $cdrec, $cfilename, $template);
$entries++; $entries++;