[Vtigercrm-commits] [vtiger-commits] r10032 - /vtigercrm/branches/5.0.3/include/fpdf/templates/body.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jan 10 01:00:09 EST 2007
Author: richie
Date: Tue Jan 9 23:00:01 2007
New Revision: 10032
Log:
* Modified to fix breakage in pdf, ie., changed the condition to get the count from instead of which will cause unwanted empty lines when we have 30+ products
Modified:
vtigercrm/branches/5.0.3/include/fpdf/templates/body.php
Modified: vtigercrm/branches/5.0.3/include/fpdf/templates/body.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/fpdf/templates/body.php (original)
+++ vtigercrm/branches/5.0.3/include/fpdf/templates/body.php Tue Jan 9 23:00:01 2007
@@ -67,7 +67,8 @@
/* ************* Begin Product Population *************** */
$ppad=3;
$y = $body_top+10;
-for($i=0;$i<count($product_name);$i++)
+
+for($i=0;$i<count($line);$i++)
{
$size = $pdf->addProductLine( $y, $line[$i] );
$y += $size+$ppad;
More information about the vtigercrm-commits
mailing list