TCPDF
TCPDF copied to clipboard
getNumPages returns only current page in Header() function
There is a bug where $this->getNumPages() only returns current page number.
It works fine in footer, but in header it's buggy.