Try to fix the "Return of error for #28319"
This commit is contained in:
parent
4acf87f43d
commit
ca7f06f7d3
2 changed files with 3 additions and 3 deletions
|
|
@ -2046,7 +2046,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||
* @param int $showaddress 0=no, 1=yes (usually set to 1 for first page, and 0 for next pages)
|
||||
* @param Translate $outputlangs Object lang for output
|
||||
* @param Translate $outputlangsbis Object lang for output bis
|
||||
* @return array top shift of linked object lines
|
||||
* @return array top shift of linked object lines
|
||||
*/
|
||||
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -703,11 +703,11 @@ class pdf_standard extends ModelePDFProduct
|
|||
* @param int $showaddress 0=no, 1=yes
|
||||
* @param Translate $outputlangs Object lang for output
|
||||
* @param string $titlekey Translation key to show as title of document
|
||||
* @return void
|
||||
* @return float|int Return topshift value
|
||||
*/
|
||||
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $titlekey = "")
|
||||
{
|
||||
global $conf, $langs;
|
||||
global $conf;
|
||||
|
||||
$ltrdirection = 'L';
|
||||
if ($outputlangs->trans("DIRECTION") == 'rtl') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue