fix warning

This commit is contained in:
Frédéric FRANCE 2020-12-12 09:39:54 +01:00
parent 91ddcf6446
commit 479d709a96
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -66,14 +66,15 @@ class pdf_proforma extends pdf_eratosthene
* @param Commande $object Object to show
* @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output
* @param Translate $outputlangsbis Object lang for output bis
* @param string $titlekey Translation key to show as title of document
* @return int Return topshift value
*/
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $titlekey = "InvoiceProForma")
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null, $titlekey = "InvoiceProForma")
{
// phpcs:enable
global $conf, $langs, $hookmanager;
return parent::_pagehead($pdf, $object, $showaddress, $outputlangs, $titlekey);
return parent::_pagehead($pdf, $object, $showaddress, $outputlangs, $outputlangsbis, $titlekey);
}
}