[Vtigercrm-commits] [vtiger-commits] r5114 - in /vtigercrm/branches/4.2_postgresql_integration/modules: Invoice/CreatePDF.php Orders/CreatePDF.php Orders/CreateSOPDF.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 13 19:47:36 EDT 2006


Author: jeffk
Date: Thu Apr 13 17:47:22 2006
New Revision: 5114

Log:
refs #62 and #17. merging source:vtigercrm/branches/4.2 r5080 through r5113 to source:vtigercrm/branches/4.2_postgresql_integration. allanbush fixed CreatePDF.php pdf generation bugs

Modified:
    vtigercrm/branches/4.2_postgresql_integration/modules/Invoice/CreatePDF.php
    vtigercrm/branches/4.2_postgresql_integration/modules/Orders/CreatePDF.php
    vtigercrm/branches/4.2_postgresql_integration/modules/Orders/CreateSOPDF.php

Modified: vtigercrm/branches/4.2_postgresql_integration/modules/Invoice/CreatePDF.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/modules/Invoice/CreatePDF.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/modules/Invoice/CreatePDF.php Thu Apr 13 17:47:22 2006
@@ -372,7 +372,7 @@
     $this->SetFont('');
     //Data
     $fill=0;
-    	foreach($ivData as $key=>$value)
+    	if($ivData) foreach($ivData as $key=>$value)
 	{
     		$this->Cell(38,6,$value['productname'],0,0,'L',0);
 		$this->Cell(38,6,$value['qty'],0,0,'L',0);

Modified: vtigercrm/branches/4.2_postgresql_integration/modules/Orders/CreatePDF.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/modules/Orders/CreatePDF.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/modules/Orders/CreatePDF.php Thu Apr 13 17:47:22 2006
@@ -373,7 +373,7 @@
     $this->SetFont('');
     //Data
     $fill=0;
-    	foreach($ivData as $key=>$value)
+    	if($ivData) foreach($ivData as $key=>$value)
 	{
     		$this->Cell(38,6,$value['productname'],0,0,'L',0);
 		$this->Cell(38,6,$value['qty'],0,0,'L',0);

Modified: vtigercrm/branches/4.2_postgresql_integration/modules/Orders/CreateSOPDF.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/modules/Orders/CreateSOPDF.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/modules/Orders/CreateSOPDF.php Thu Apr 13 17:47:22 2006
@@ -374,7 +374,7 @@
     $this->SetFont('');
     //Data
     $fill=0;
-    	foreach($ivData as $key=>$value)
+    	if($ivData) foreach($ivData as $key=>$value)
 	{
     		$this->Cell(38,6,$value['productname'],0,0,'L',0);
 		$this->Cell(38,6,$value['qty'],0,0,'L',0);





More information about the vtigercrm-commits mailing list