Skip to content

Commit

Permalink
Merge branch '3.8' of git@github.com:Dolibarr/dolibarr.git into 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 22, 2016
2 parents 34c648b + 219ce73 commit 56a4466
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions htdocs/core/modules/facture/doc/pdf_crabe.modules.php
Expand Up @@ -250,6 +250,9 @@ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hid
global $action;
$reshook=$hookmanager->executeHooks('beforePDFCreation',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks

// Set nblignes with the new facture lines content after hook
$nblignes = count($object->lines);

// Create pdf instance
$pdf=pdf_getInstance($this->format);
$default_font_size = pdf_getPDFFontSize($outputlangs); // Must be after pdf_getInstance
Expand Down

0 comments on commit 56a4466

Please sign in to comment.