diff --git a/CHANGELOG.md b/CHANGELOG.md index dcb88493..c50ef97b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file. * add support 'start' attribute for ordered list * fix a infinite loop case when reading a svg path * fix issue from https://github.com/spipu/html2pdf/pull/177 + * fix issue from https://github.com/spipu/html2pdf/pull/163 ## [4.6.0] - 2016-03-30 diff --git a/src/Html2Pdf.php b/src/Html2Pdf.php index e4444a38..ca07ce6c 100755 --- a/src/Html2Pdf.php +++ b/src/Html2Pdf.php @@ -2604,7 +2604,7 @@ protected function _tag_open_PAGE($param) $resetPageNumber = (isset($param['pagegroup']) && $param['pagegroup']=='new'); if (array_key_exists('hideheader', $param) && $param['hideheader']!='false' && !empty($param['hideheader'])) { - $this->_hideHeader = (array) array_merge($this->_hideHeader, split(',', $param['hideheader'])); + $this->_hideHeader = (array) array_merge($this->_hideHeader, explode(',', $param['hideheader'])); } $this->_maxH = 0;