mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Clean code
This commit is contained in:
parent
2bdaa07f58
commit
3c45870bdf
|
|
@ -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 New Issue
Block a user