Merging latest changes from stable branch up to 2.3.24
[fa-stable.git] / reporting / rep401.php
index a65f35e9190640eeafddfd390ceb9027cfe7eaa5..eac5001e6037cf5ee2565a6b7d9d4b4cc8fd1e20 100644 (file)
@@ -77,7 +77,7 @@ function print_bill_of_material()
 
     $rep = new FrontReport(_('Bill of Material Listing'), "BillOfMaterial", user_pagesize(), 9, $orientation);
     if ($orientation == 'L')
-       $rep->recalculate_cols($cols);
+       recalculate_cols($cols);
 
     $rep->Font();
     $rep->Info($params, $cols, $headers, $aligns);
@@ -117,4 +117,3 @@ function print_bill_of_material()
     $rep->End();
 }
 
-?>
\ No newline at end of file