Fix Typhon model $mysoc global is missing

This commit is contained in:
Florian Henry 2013-07-29 12:21:52 +02:00
parent bbaa344801
commit d6f31d61bf

View File

@ -537,7 +537,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
*/
function _tableau_info(&$pdf, $object, $posy, $outputlangs)
{
global $conf;
global $conf,$mysoc;
$default_font_size = pdf_getPDFFontSize($outputlangs);
$pdf->SetFont('','', $default_font_size);