Clean code
This commit is contained in:
parent
2bdaa07f58
commit
3c45870bdf
1 changed files with 2 additions and 1 deletions
|
|
@ -910,7 +910,7 @@ class pdf_standard extends ModelePDFMovement
|
|||
*/
|
||||
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $titlekey = "")
|
||||
{
|
||||
global $conf, $langs, $db, $hookmanager;
|
||||
global $conf, $langs;
|
||||
|
||||
// Load traductions files required by page
|
||||
$outputlangs->loadLangs(array("main", "propal", "companies", "bills", "orders", "stocks"));
|
||||
|
|
@ -1116,6 +1116,7 @@ class pdf_standard extends ModelePDFMovement
|
|||
}
|
||||
|
||||
$pdf->SetTextColor(0, 0, 0);
|
||||
|
||||
return $top_shift;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue