Browse Source

Fix warning

Laurent Destailleur 1 year ago
parent
commit
ce94dfbdc1
1 changed files with 4 additions and 4 deletions
  1. 4 4
      htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php

+ 4 - 4
htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php

@@ -361,10 +361,10 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
 					$pdf->SetTextColor(0, 0, 0);
 
 					// Define size of image if we need it
-					$imglinesize = array();
-					if (!empty($realpatharray[$i])) {
-						$imglinesize = pdf_getSizeForImage($realpatharray[$i]);
-					}
+					//$imglinesize = array();
+					//if (!empty($realpatharray[$i])) {
+					//	$imglinesize = pdf_getSizeForImage($realpatharray[$i]);
+					//}
 
 					$pdf->setTopMargin($tab_top_newpage);
 					$pdf->setPageOrientation('', 1, $heightforfooter + $heightforfreetext + $heightforinfotot); // The only function to edit the bottom margin of current page to set it.